-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add missing eval console screen
- Loading branch information
1 parent
fa13a4f
commit c6b074b
Showing
2 changed files
with
31 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,11 @@ | ||
const { capture } = require('../../screenshot.js'); | ||
|
||
(async () => { | ||
await capture('getting_started', 'evaluation_console', async (page) => { | ||
await page.getByRole('link', { name: 'Console' }).click(); | ||
await page.locator('#flagKey-select-button').click(); | ||
await page.getByRole('option', { name: 'new-login New Login' }).click(); | ||
await page.getByPlaceholder('{}').click(); | ||
await page.getByRole('button', { name: 'Evaluate', exact: true }).click(); | ||
}); | ||
})(); |
20 changes: 20 additions & 0 deletions
20
ui/screenshot/getting_started/fixtures/evaluation_console.yml
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,20 @@ | ||
namespace: default | ||
flags: | ||
- key: new-login | ||
name: New Login | ||
description: Enables the new login page for users | ||
enabled: true | ||
variants: | ||
- key: big-blue-login-button | ||
- key: big-red-login-button | ||
rules: | ||
- segment: all-users | ||
rank: 1 | ||
distributions: | ||
- variant: big-blue-login-button | ||
rollout: 50 | ||
- variant: big-red-login-button | ||
rollout: 50 | ||
segments: | ||
- key: all-users | ||
name: All Users |