Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "TestCafe editors - material" task (#25040) #25095

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion testing/testcafe/tests/editors/radioGroup/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import url from '../../../helpers/getPageUrl';
import RadioGroup from '../../../model/radioGroup';
import createWidget from '../../../helpers/createWidget';
import { setStyleAttribute } from '../../../helpers/domUtils';
import { safeSizeTest } from '../../../helpers/safeSizeTest';

fixture.disablePageReloads`Radio Group`
.page(url(__dirname, '../../container.html'));
Expand Down Expand Up @@ -76,7 +77,7 @@ test('Radio buttons placed into the template should not be selected after clicki
}),
}));

test('Dot of Radio button placed in scaled container should have valid centering(T1165339)', async (t) => {
safeSizeTest('Dot of Radio button placed in scaled container should have valid centering(T1165339)', async (t) => {
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);

await testScreenshot(t, takeScreenshot, 'RadioGroup in scaled container.png', { element: '#container', shouldTestInCompact: true });
Expand Down