-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui/screenshot): capture create_rule
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const { capture } = require('../screenshot.js'); | ||
|
||
(async() => { | ||
await capture('create_rule', async (page) => { | ||
await page.getByRole('link', { name: 'new-login' }).click(); | ||
await page.getByRole('link', { name: 'Evaluation' }).click(); | ||
await page.getByRole('button', { name: 'New Rule' }).click(); | ||
await page.locator('#segmentKey-select-button').click(); | ||
await page.getByText('all-users').click(); | ||
await page.getByLabel('Multi-Variant').check(); | ||
}); | ||
})(); |
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,11 @@ | ||
namespace: default | ||
flags: | ||
- key: new-login | ||
name: New Login | ||
description: Enables the new login page for users | ||
variants: | ||
- key: big-blue-login-button | ||
- key: big-red-login-button | ||
segments: | ||
- key: all-users | ||
name: All Users |