Skip to content

Commit

Permalink
changes method names and step definition
Browse files Browse the repository at this point in the history
  • Loading branch information
HBukvic committed Aug 24, 2023
1 parent 34e240c commit 3eab7e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/admin/administrateMigration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Feature: Admin Users - To administrate the Migration process.
Then I can see the school number
Then I see button Start migration is enabled
Then I can see the migration information text
Then I can write an email to a pre-defined receiver
Then I see the email form with correct recipient
Then I see the information link href is blog.niedersachsen.cloud/umzug
When I click on the start migration button
When I click on agree migration button
Expand Down
4 changes: 2 additions & 2 deletions cypress/support/pages/admin/pageAdministration.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class Management {
.click({ force: true })
}

addedSchoolNumberIsShowing() {
seeAddedSchoolNumber() {
cy.get(Management.#schoolNumberForm)
.should('not.be.empty')
}
Expand Down Expand Up @@ -322,7 +322,7 @@ class Management {
.should('contain', 'Die Account-Migration ist aktiv.')
}

endMigrationButtonIsVisible() {
seeEndMigrationButtonIsEnabled() {
cy.get(Management.#migrationEndButton)
.should('be.enabled')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Management from '../../pages/admin/pageAdministration'
const management = new Management()

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

Then('I see button Start migration is enabled',() => {
Expand All @@ -17,7 +17,7 @@ When('I click on the start migration button', () => {
Then('I can see the migration information text', () => {
management.seeVisibleMigrationInformation()
});
Then('I can write an email to a pre-defined receiver', () => {
Then('I see the email form with correct recipient', () => {
management.checkSupportLink()
});
Then(/^I see the information link href is blog\.niedersachsen\.cloud\/umzug$/, () =>{
Expand All @@ -30,7 +30,7 @@ Then('I see the migration is active field', () => {
management.seeMigrationActiveTextInformation()
});
Then('I see the end migration button', () => {
management.endMigrationButtonIsVisible()
management.seeEndMigrationButtonIsEnabled()
});
When('I click on end migration button', () => {
management.clickEndMigrationButton()
Expand Down

0 comments on commit 3eab7e2

Please sign in to comment.