-
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: runs prettier after dependency update (#1883)
- Loading branch information
1 parent
1f7cc63
commit f25777a
Showing
74 changed files
with
456 additions
and
453 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
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
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
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
const { capture } = require('../screenshot.js'); | ||
|
||
(async() => { | ||
await capture('create_constraint', async (page) => { | ||
await page.getByRole('link', { name: 'Segments' }).click(); | ||
await page.getByRole('link', { name: 'all-users' }).click(); | ||
await page.getByRole('button', { name: 'New Constraint' }).click(); | ||
await page.getByLabel('Property').fill('admin'); | ||
await page | ||
.getByRole('combobox', { name: 'Type' }) | ||
.selectOption('BOOLEAN_COMPARISON_TYPE'); | ||
await page | ||
.getByRole('combobox', { name: 'Operator' }) | ||
.selectOption('notpresent'); | ||
}); | ||
(async () => { | ||
await capture('create_constraint', async (page) => { | ||
await page.getByRole('link', { name: 'Segments' }).click(); | ||
await page.getByRole('link', { name: 'all-users' }).click(); | ||
await page.getByRole('button', { name: 'New Constraint' }).click(); | ||
await page.getByLabel('Property').fill('admin'); | ||
await page | ||
.getByRole('combobox', { name: 'Type' }) | ||
.selectOption('BOOLEAN_COMPARISON_TYPE'); | ||
await page | ||
.getByRole('combobox', { name: 'Operator' }) | ||
.selectOption('notpresent'); | ||
}); | ||
})(); |
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
const { capture } = require('../screenshot.js'); | ||
|
||
(async() => { | ||
await capture('create_flag', async (page) => { | ||
await page.getByRole('button', { name: 'New Flag' }).click(); | ||
await page.getByLabel('Name').fill('New Login'); | ||
await page.getByLabel('Key').fill('new-login'); | ||
await page.getByLabel('Description').fill('Enables the new login page for users'); | ||
}); | ||
(async () => { | ||
await capture('create_flag', async (page) => { | ||
await page.getByRole('button', { name: 'New Flag' }).click(); | ||
await page.getByLabel('Name').fill('New Login'); | ||
await page.getByLabel('Key').fill('new-login'); | ||
await page | ||
.getByLabel('Description') | ||
.fill('Enables the new login page for users'); | ||
}); | ||
})(); |
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 |
---|---|---|
@@ -1,12 +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(); | ||
}); | ||
(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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
const { capture } = require('../screenshot.js'); | ||
|
||
(async() => { | ||
await capture('create_segment', async (page) => { | ||
await page.getByRole('link', { name: 'Segments' }).click(); | ||
await page.getByRole('button', { name: 'New Segment' }).click(); | ||
await page.getByLabel('Name').fill('All Users'); | ||
await page.getByLabel('Key').fill('all-users'); | ||
}); | ||
(async () => { | ||
await capture('create_segment', async (page) => { | ||
await page.getByRole('link', { name: 'Segments' }).click(); | ||
await page.getByRole('button', { name: 'New Segment' }).click(); | ||
await page.getByLabel('Name').fill('All Users'); | ||
await page.getByLabel('Key').fill('all-users'); | ||
}); | ||
})(); |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
const { capture } = require('../screenshot.js'); | ||
|
||
(async() => { | ||
await capture('create_variant', async (page) => { | ||
await page.getByRole('link', { name: 'new-login' }).click(); | ||
await page.getByRole('button', { name: 'New Variant' }).click(); | ||
await page | ||
.getByRole('dialog', { name: 'New Variant' }) | ||
.locator('#key') | ||
.fill('big-blue-login-button'); | ||
await page | ||
.getByRole('dialog', { name: 'New Variant' }) | ||
.locator('#name') | ||
.fill('Big Blue Login Button'); | ||
}); | ||
(async () => { | ||
await capture('create_variant', async (page) => { | ||
await page.getByRole('link', { name: 'new-login' }).click(); | ||
await page.getByRole('button', { name: 'New Variant' }).click(); | ||
await page | ||
.getByRole('dialog', { name: 'New Variant' }) | ||
.locator('#key') | ||
.fill('big-blue-login-button'); | ||
await page | ||
.getByRole('dialog', { name: 'New Variant' }) | ||
.locator('#name') | ||
.fill('Big Blue Login Button'); | ||
}); | ||
})(); |
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
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
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
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
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
Oops, something went wrong.