mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Add missing .isPresent() to isOnTestLoginPage
Summary: A staging test was failing because the util was throwing instead of returning true or false. Test Plan: N/A (fixing test) Reviewers: paulfitz Reviewed By: paulfitz Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D3301
This commit is contained in:
parent
70373550cf
commit
cc1af85594
@ -271,7 +271,7 @@ export class HomeUtil {
|
||||
* Returns whether we are currently on the test login page.
|
||||
*/
|
||||
public async isOnTestLoginPage() {
|
||||
return await this.driver.findContent('h1', 'A Very Credulous Login Page');
|
||||
return this.driver.findContent('h1', 'A Very Credulous Login Page').isPresent();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user