mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Updated twitter and FB settings tests in AdminX
refs. https://github.com/TryGhost/Team/issues/3354
This commit is contained in:
parent
33ea5486df
commit
4e5523674c
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ test.describe('Facebook settings', async () => {
|
|||
const fileChooser = await fileChooserPromise;
|
||||
await fileChooser.setFiles(`${__dirname}/../../utils/images/image.png`);
|
||||
|
||||
await expect(section.locator('[style*="background-image"]')).toHaveCSS('background-image', 'url("http://example.com/image.png")');
|
||||
await expect(section.getByRole('img')).toBeVisible();
|
||||
|
||||
await section.getByLabel('Facebook title').fill('Facetitle');
|
||||
await section.getByLabel('Facebook description').fill('Facescription');
|
||||
|
|
|
@ -22,7 +22,7 @@ test.describe('Twitter settings', async () => {
|
|||
const fileChooser = await fileChooserPromise;
|
||||
await fileChooser.setFiles(`${__dirname}/../../utils/images/image.png`);
|
||||
|
||||
await expect(section.locator('[style*="background-image"]')).toHaveCSS('background-image', 'url("http://example.com/image.png")');
|
||||
await expect(section.getByRole('img')).toBeVisible();
|
||||
|
||||
await section.getByLabel('Twitter title').fill('Twititle');
|
||||
await section.getByLabel('Twitter description').fill('Twitscription');
|
||||
|
|
Loading…
Add table
Reference in a new issue