Skip to content

Commit dfcc884

Browse files
committed
fix: tests
1 parent f763b08 commit dfcc884

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/behavior/tests/lists/bullet-style-export.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import JSZip from 'jszip';
44
test.use({ config: { toolbar: 'full' } });
55

66
const BULLET_DROPDOWN_CARET = '[aria-label="Bullet list"] .dropdown-caret';
7-
const STYLE_OPTION = (label: string) => `.bullet-style-buttons [aria-label="${label}"]`;
7+
const STYLE_OPTION = (label: string) => `.style-buttons-list [aria-label="${label}"]`;
88

99
const STYLE_LABEL = {
1010
disc: 'Opaque circle',

tests/behavior/tests/lists/bullet-style-picker.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { LIST_MARKER_SELECTOR, getParagraphNumberingByText } from '../../helpers
44
test.use({ config: { toolbar: 'full' } });
55

66
const BULLET_DROPDOWN_CARET = '[aria-label="Bullet list"] .dropdown-caret';
7-
const STYLE_OPTION = (label: string) => `.bullet-style-buttons [aria-label="${label}"]`;
7+
const STYLE_OPTION = (label: string) => `.style-buttons-list [aria-label="${label}"]`;
88

99
const STYLE_LABEL = {
1010
disc: 'Opaque circle',
@@ -15,7 +15,7 @@ const STYLE_LABEL = {
1515
async function openBulletDropdown(superdoc: SuperDocFixture) {
1616
await superdoc.page.locator(BULLET_DROPDOWN_CARET).click();
1717
await superdoc.waitForStable();
18-
await expect(superdoc.page.locator('.bullet-style-buttons')).toBeVisible();
18+
await expect(superdoc.page.locator('.style-buttons-list')).toBeVisible();
1919
}
2020

2121
async function pickStyle(superdoc: SuperDocFixture, style: keyof typeof STYLE_LABEL) {

tests/behavior/tests/lists/bullet-style-undo-redo.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test, expect, type SuperDocFixture } from '../../fixtures/superdoc.js';
33
test.use({ config: { toolbar: 'full' } });
44

55
const BULLET_DROPDOWN_CARET = '[aria-label="Bullet list"] .dropdown-caret';
6-
const STYLE_OPTION = (label: string) => `.bullet-style-buttons [aria-label="${label}"]`;
6+
const STYLE_OPTION = (label: string) => `.style-buttons-list [aria-label="${label}"]`;
77

88
const STYLE_LABEL = {
99
disc: 'Opaque circle',

0 commit comments

Comments
 (0)