mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:29:16 +00:00
chore: make e2e tests more stable
This commit is contained in:
parent
04449fa486
commit
eea3262469
@ -127,7 +127,11 @@ export async function testDefaultValue({
|
||||
await page.getByLabel('variable-button').click();
|
||||
await testSupportedAndUnsupportedVariables(page, supportedVariables, unsupportedVariables);
|
||||
for (const value of variableValue) {
|
||||
await page.getByRole('menuitemcheckbox', { name: value }).click();
|
||||
if (value === 'ID') {
|
||||
await page.getByRole('menuitemcheckbox', { name: value, exact: true }).click();
|
||||
} else {
|
||||
await page.getByRole('menuitemcheckbox', { name: value }).click();
|
||||
}
|
||||
}
|
||||
await page.getByRole('button', { name: 'OK', exact: true }).click();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user