fix selectors
This commit is contained in:
parent
a2c3f7004b
commit
ef2390a884
|
|
@ -130,7 +130,7 @@ test('should linkify string attachments', async ({ runUITest, server }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
await attachmentsPane.getByText('Second download').click();
|
await attachmentsPane.getByLabel('Second').click();
|
||||||
const url = server.PREFIX + '/two.html';
|
const url = server.PREFIX + '/two.html';
|
||||||
const promise = page.waitForEvent('popup');
|
const promise = page.waitForEvent('popup');
|
||||||
await attachmentsPane.getByText(url).click();
|
await attachmentsPane.getByText(url).click();
|
||||||
|
|
@ -139,7 +139,7 @@ test('should linkify string attachments', async ({ runUITest, server }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
await attachmentsPane.getByText('Third download').click();
|
await attachmentsPane.getByLabel('Third').click();
|
||||||
const url = server.PREFIX + '/three.html';
|
const url = server.PREFIX + '/three.html';
|
||||||
const promise = page.waitForEvent('popup');
|
const promise = page.waitForEvent('popup');
|
||||||
await attachmentsPane.getByText('[markdown link]').click();
|
await attachmentsPane.getByText('[markdown link]').click();
|
||||||
|
|
@ -148,7 +148,7 @@ test('should linkify string attachments', async ({ runUITest, server }) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should link from attachment step to attachments view', async ({ runUITest, server }) => {
|
test('should link from attachment step to attachments view', async ({ runUITest }) => {
|
||||||
const { page } = await runUITest({
|
const { page } = await runUITest({
|
||||||
'a.test.ts': `
|
'a.test.ts': `
|
||||||
import { test } from '@playwright/test';
|
import { test } from '@playwright/test';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue