-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
105 changed files
with
3,815 additions
and
546 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import type { Page } from "@playwright/test"; | ||
|
||
import { DAY_PICKER_WRAPPER, DAY_PICKER_HEADING } from "./locators"; | ||
|
||
// component preview locators | ||
|
||
export const dayPickerWrapper = (page: Page) => | ||
page.locator(DAY_PICKER_WRAPPER); | ||
export const dayPickerHeading = (page: Page) => | ||
page.locator(DAY_PICKER_HEADING).locator("div"); | ||
page.locator(DAY_PICKER_HEADING); |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// component preview locators | ||
export const DAY_PICKER_WRAPPER = 'div[class="DayPicker-wrapper"]'; | ||
export const DAY_PICKER_HEADING = ".DayPicker-Caption"; | ||
export const DAY_PICKER_WRAPPER = 'div[class="rdp-root"]'; | ||
export const DAY_PICKER_HEADING = 'span[class="rdp-caption_label"]'; |
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,16 @@ | ||
import { Page } from "@playwright/test"; | ||
import { | ||
STEP_SEQUENCE_ITEM_INDICATOR, | ||
STEP_SEQUENCE_DATA_COMPONENT, | ||
STEP_SEQUENCE_DATA_COMPONENT_ITEM, | ||
} from "./locators"; | ||
|
||
// component preview locators | ||
export const stepSequenceItemIndicator = (page: Page) => | ||
page.locator(STEP_SEQUENCE_ITEM_INDICATOR).first(); | ||
|
||
export const stepSequenceDataComponentItem = (page: Page) => | ||
page.locator(STEP_SEQUENCE_DATA_COMPONENT_ITEM); | ||
|
||
export const stepSequenceDataComponent = (page: Page) => | ||
page.locator(STEP_SEQUENCE_DATA_COMPONENT); |
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,5 @@ | ||
// component preview locators | ||
export const STEP_SEQUENCE_DATA_COMPONENT_ITEM = | ||
'[data-component="step-sequence-item"]'; | ||
export const STEP_SEQUENCE_ITEM_INDICATOR = `${STEP_SEQUENCE_DATA_COMPONENT_ITEM} > span > span`; | ||
export const STEP_SEQUENCE_DATA_COMPONENT = '[data-component="step-sequence"]'; |
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
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
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
Oops, something went wrong.