mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Split anonymous access e2e tests into separate files
This commit is contained in:
@@ -73,7 +73,7 @@ describe("devbuild tests", () => {
|
||||
expect(attributes).toBeUndefined();
|
||||
});
|
||||
|
||||
it("should normalize testid testid", () => {
|
||||
it("should remove spaces from test id", () => {
|
||||
const attributes = createAttributesForTesting("heart of gold");
|
||||
if (attributes) {
|
||||
expect(attributes["data-testid"]).toBe("heart-of-gold");
|
||||
@@ -81,5 +81,14 @@ describe("devbuild tests", () => {
|
||||
throw new Error("attributes should be defined");
|
||||
}
|
||||
});
|
||||
|
||||
it("should lower case test id", () => {
|
||||
const attributes = createAttributesForTesting("HeartOfGold");
|
||||
if (attributes) {
|
||||
expect(attributes["data-testid"]).toBe("heartofgold");
|
||||
} else {
|
||||
throw new Error("attributes should be defined");
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user