Created
July 30, 2021 20:38
-
-
Save efleming969/7ecc026993e89e71d90ec55941bfa19e 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
import browserUtils from "./support/browserUtils" | |
describe( "add game via ubs", function () { | |
before( async () => { | |
await browserUtils.start() | |
} ) | |
after( async () => { | |
await browserUtils.stop() | |
} ) | |
it.only( "successfully add game with valid code", async () => { | |
const page = await browserUtils.newPageAt( "/" ) | |
await page.waitForSelector( `//h2[text() = 'Home']` ) | |
await page.click( `//a[text() = 'Add new game']` ) | |
await page.waitForSelector( `//h2[text() = 'Add Game']` ) | |
} ) | |
} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment