* WIP e2e test * Working test on Linux * Clean up * Add to CI * Fix * Install tauri-driver * Migrate to ubuntu-latest * Add button check and click * Update name * Separate job for e2e test * Fix path * Fix perms * Fix perms * Single build-test-apps job * Lint wdio file
12 lines
373 B
JavaScript
12 lines
373 B
JavaScript
describe('Modeling App', () => {
|
|
it('open the sign in page', async () => {
|
|
const button = await $('#signin')
|
|
expect(button).toHaveText('Sign in')
|
|
|
|
// Workaround for .click(), see https://github.com/tauri-apps/tauri/issues/6541
|
|
await button.waitForClickable()
|
|
await browser.execute('arguments[0].click();', button)
|
|
// TODO: handle auth
|
|
})
|
|
})
|