Skip to content

Commit

Permalink
changes method names
Browse files Browse the repository at this point in the history
  • Loading branch information
HBukvic committed Aug 24, 2023
1 parent f696990 commit 34e240c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cypress/support/pages/admin/pageAdministration.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,13 @@ class Management {
.click({ force: true })
}

schoolNumberIsAdded() {
addedSchoolNumberIsShowing() {
cy.get(Management.#schoolNumberForm)
.should('not.be.empty')
}


migrationButtonIsEnabled() {
seeMigrationButtonIsEnabled() {
cy.get(Management.#startMigrationButton)
.should('be.enabled')
}
Expand All @@ -296,7 +296,7 @@ class Management {
.click()
}

migrationInformationIsVisible() {
seeVisibleMigrationInformation() {
cy.get(Management.#migrationInformationText)
.should('be.visible')
}
Expand All @@ -317,7 +317,7 @@ class Management {
.click()
}

migrationActiveTextInformation() {
seeMigrationActiveTextInformation() {
cy.get(Management.#migrationActiveStatus)
.should('contain', 'Die Account-Migration ist aktiv.')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ import Management from '../../pages/admin/pageAdministration'
const management = new Management()

Then('I can see the school number', () => {
management.schoolNumberIsAdded()
management.addedSchoolNumberIsShowing()
})

Then('I see button Start migration is enabled',() => {
management.migrationButtonIsEnabled()
management.seeMigrationButtonIsEnabled()
})

When('I click on the start migration button', () => {
management.clickStartMigration()
})
Then('I can see the migration information text', () => {
management.migrationInformationIsVisible()
management.seeVisibleMigrationInformation()
});
Then('I can write an email to a pre-defined receiver', () => {
management.checkSupportLink()
Expand All @@ -27,7 +27,7 @@ When('I click on agree migration button', () =>{
management.clickAgreeMigrationButton()
});
Then('I see the migration is active field', () => {
management.migrationActiveTextInformation()
management.seeMigrationActiveTextInformation()
});
Then('I see the end migration button', () => {
management.endMigrationButtonIsVisible()
Expand Down

0 comments on commit 34e240c

Please sign in to comment.