Fix test suppression
This commit is contained in:
@@ -1165,7 +1165,8 @@ export function injectSharedRendererTests(ctx: ISharedRendererTestContext): void
|
|||||||
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 2, 1), [0, 0, 0, 255]);
|
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 2, 1), [0, 0, 0, 255]);
|
||||||
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 3, 1), [0, 0, 0, 255]);
|
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 3, 1), [0, 0, 0, 255]);
|
||||||
});
|
});
|
||||||
test('#4759: minimum contrast ratio should be respected on inverse text', async () => {
|
// HACK: It's not clear why DOM is failing here
|
||||||
|
(ctx.skipDomExceptions ? test.skip : test)('#4759: minimum contrast ratio should be respected on inverse text', async () => {
|
||||||
const theme: ITheme = {
|
const theme: ITheme = {
|
||||||
foreground: '#aaaaaa',
|
foreground: '#aaaaaa',
|
||||||
background: '#333333'
|
background: '#333333'
|
||||||
@@ -1180,8 +1181,7 @@ export function injectSharedRendererTests(ctx: ISharedRendererTestContext): void
|
|||||||
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 1, 1), [0, 0, 0, 255]);
|
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 1, 1), [0, 0, 0, 255]);
|
||||||
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 2, 1), [0, 0, 0, 255]);
|
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 2, 1), [0, 0, 0, 255]);
|
||||||
});
|
});
|
||||||
// HACK: It's not clear why DOM is failing here
|
(ctx.skipCanvasExceptions ? test.skip : test)('#4759: minimum contrast ratio should be respected on selected inverse text', async () => {
|
||||||
(ctx.skipCanvasExceptions || ctx.skipDomExceptions ? test.skip : test)('#4759: minimum contrast ratio should be respected on selected inverse text', async () => {
|
|
||||||
const theme: ITheme = {
|
const theme: ITheme = {
|
||||||
foreground: '#777777',
|
foreground: '#777777',
|
||||||
background: '#555555',
|
background: '#555555',
|
||||||
|
|||||||
Reference in New Issue
Block a user