-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-3171 added new selectors, finished empty contacts test,
- Loading branch information
1 parent
e10e892
commit 1566829
Showing
3 changed files
with
44 additions
and
24 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
apps/mudita-center-e2e/src/page-objects/contacts-kompakt.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Copyright (c) Mudita sp. z o.o. All rights reserved. | ||
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md | ||
*/ | ||
|
||
import Page from "./page" | ||
|
||
class ContactsKompaktPage extends Page { | ||
public get contactRow() { | ||
return $(`//*[@data-testid="ui-table-row"]`) | ||
} | ||
|
||
public get iconContactsBook() { | ||
return $(`//*[@data-testid="icon-contacts-book"]`) | ||
} | ||
|
||
public get importContactsSubtext() { | ||
return $('//p[@data-testid="ui-typography-p1"]') | ||
} | ||
|
||
public get importContactsButton() { | ||
return $('//*[@data-testid="primary-button-importContactsButton"]') | ||
} | ||
} | ||
export default new ContactsKompaktPage() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters