-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
75 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
e2e-tests/cypress/e2e/ui-tests/specs/07_system_schemas/createSystemSchema.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { SchemaPage } from "../../pages/schemaPage"; | ||
const schemaPage = new SchemaPage(); | ||
|
||
import { HomePage } from "../../pages/homePage"; | ||
const homePage = new HomePage(); | ||
|
||
|
||
context("System Schema Creation", { tags: ['ui'] }, () => { | ||
|
||
const SRUsername = Cypress.env('SRUser'); | ||
const schemaName = "UISystemSchema"; | ||
const schemaName2 = "UISystemSchema2"; | ||
|
||
beforeEach(() => { | ||
cy.viewport(1920, 1080); | ||
homePage.visit(); | ||
homePage.login(SRUsername); | ||
schemaPage.openSchemasTab(); | ||
schemaPage.openSchemasSubtab("System"); | ||
}); | ||
|
||
it("create system schema", () => { | ||
schemaPage.createSchema(schemaName); | ||
}); | ||
|
||
it("create system schema", () => { | ||
schemaPage.createSchema(schemaName); | ||
}); | ||
}); |
34 changes: 34 additions & 0 deletions
34
e2e-tests/cypress/e2e/ui-tests/specs/07_system_schemas/operationsSystemSchema.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { SchemaPage } from "../../pages/schemaPage"; | ||
const schemaPage = new SchemaPage(); | ||
|
||
import { HomePage } from "../../pages/homePage"; | ||
const homePage = new HomePage(); | ||
|
||
|
||
context("System Schema Operations", { tags: ['ui'] }, () => { | ||
|
||
const SRUsername = Cypress.env('SRUser'); | ||
const schemaName = "UISystemSchema"; | ||
const schemaName2 = "UISystemSchema2"; | ||
|
||
beforeEach(() => { | ||
cy.viewport(1920, 1080); | ||
homePage.visit(); | ||
homePage.login(SRUsername); | ||
schemaPage.openSchemasTab(); | ||
schemaPage.openSchemasSubtab("System"); | ||
}); | ||
|
||
it("policy schema document view", () => { | ||
schemaPage.documentView(schemaName); | ||
}); | ||
|
||
it("delete system schema", () => { | ||
schemaPage.deleteSchema(schemaName); | ||
}); | ||
|
||
it("activate system schema", () => { | ||
schemaPage.createSchema(schemaName2); | ||
schemaPage.activateSystemSchema(schemaName2); | ||
}); | ||
}); |
20 changes: 0 additions & 20 deletions
20
e2e-tests/cypress/e2e/ui-tests/specs/system_schemas/createSystemSchema.cy.js
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
e2e-tests/cypress/e2e/ui-tests/specs/system_schemas/operationsSystemSchema.cy.js
This file was deleted.
Oops, something went wrong.