3613bfe1af
* testsuite/playwright: copys files to storj repo This PR copies all the playwright ui tests to the storj repository. * CI: Jenkinsfile.ui Jenkinsfile.ui builds all necessary items for running storj binaries, installs all items for playwright ui tests and executes the test. Note that we aren't running regular unit tests and we are not linting the code as this is occuring in the public instance. Furthermore, we still need to implement the starting of storj services as well as typescript linters for the playwright tests. * testsuite: playwright ui tests This PR copies all playwright ui tests files from the qa repo. * testsuite: playwright ui tests This PR copies all playwright ui tests files from the qa repo.
11 lines
617 B
TypeScript
11 lines
617 B
TypeScript
// Copyright (C) 2023 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
export class DashboardPageObjects {
|
|
protected static WELCOME_TEXT_LOCATOR = `//h2[contains(text(),'Project Stats')]`;
|
|
protected static ENTER_PASSPHRASE_RADIO_BUTTON_XPATH = `//*[contains(text(),'Enter passphrase')]`;
|
|
protected static CONTINUE_PASSPHRASE_BUTTON_XPATH = `//span[contains(text(),'Continue ->')]`;
|
|
protected static PASSPHRASE_INPUT_XPATH = `//input[@id='Encryption Passphrase']`;
|
|
protected static CHECKMARK_ENTER_PASSPHRASE_XPATH = `//h2[contains(text(),'Yes I understand and saved the passphrase.')]`
|
|
}
|