Created
July 30, 2023 19:08
-
-
Save imartinflores/68cc65836fec5f81f491e30cb976be8e to your computer and use it in GitHub Desktop.
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
await page.locator("a.btn.btn-primary.btn-block",{hasText: 'View Cart'}).click() | |
await expect(page.locator("td.text-left", {hasText: 'HTC Touch HD'})).toBeVisible() | |
await expect(page.locator("div[class$='flex-nowrap'] > input")).toHaveValue("1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment