Skip to content

Commit a3abd10

Browse files
Selenium: comment wording
1 parent e65dbfd commit a3abd10

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

selenium/test/basic-auth/session-expired-with-no-refresh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('Once user is logged in and no refresh is configured', function () {
2222
await login.login('guest', 'guest')
2323
await overview.isLoaded()
2424
await overview.selectRefreshOption("Do not refresh")
25-
// Trigger a preference stored in cookie, which should honor login timeout.
25+
// Trigger a UI preference change to verify it does not extend the session.
2626
await overview.ensureTotalsSectionIsInvisible()
2727
})
2828

selenium/test/basic-auth/session-expired.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('Once user is logged in', function () {
2020
captureScreen = captureScreensFor(driver, __filename)
2121
await login.login('guest', 'guest')
2222
await overview.isLoaded()
23-
// Trigger a preference stored in cookie, which should honor login timeout.
23+
// Trigger a UI preference change to verify it does not extend the session.
2424
await overview.ensureTotalsSectionIsInvisible()
2525
})
2626

selenium/test/pageobjects/OverviewPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ module.exports = class OverviewPage extends BasePage {
3333
async ensureTotalsSectionIsVisible() {
3434
return this.ensureSectionIsVisible(TOTALS_SECTION)
3535
}
36+
3637
async ensureTotalsSectionIsInvisible() {
3738
return this.ensureSectionIsInvisible(TOTALS_SECTION)
3839
}
39-
4040
}

0 commit comments

Comments
 (0)