Skip to content

Commit

Permalink
Rails interpolation got me
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Aug 12, 2024
1 parent 64faaca commit ad0f34e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions e2e/components/Link.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test.describe('Link', () => {
test.describe('Default', () => {
for (const theme of themes) {
test.describe(theme, () => {
test(`default @vrt #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`default @vrt ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link--default',
globals: {
Expand All @@ -30,7 +30,7 @@ test.describe('Link', () => {
expect(await page.screenshot()).toMatchSnapshot(`Link.Default.${theme}.focus.png`)
})

test(`axe @aat #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`axe @aat ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link--default',
globals: {
Expand All @@ -55,7 +55,7 @@ test.describe('Link', () => {
test.describe('Muted', () => {
for (const theme of themes) {
test.describe(theme, () => {
test(`default @vrt #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`default @vrt ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link-features--muted',
globals: {
Expand All @@ -78,7 +78,7 @@ test.describe('Link', () => {
expect(await page.screenshot()).toMatchSnapshot(`Link.Muted.${theme}.focus.png`)
})

test(`axe @aat #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`axe @aat ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link-features--muted',
globals: {
Expand All @@ -103,7 +103,7 @@ test.describe('Link', () => {
test.describe('Underline', () => {
for (const theme of themes) {
test.describe(theme, () => {
test(`default @vrt #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`default @vrt ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link-features--underline',
globals: {
Expand All @@ -126,7 +126,7 @@ test.describe('Link', () => {
expect(await page.screenshot()).toMatchSnapshot(`Link.Underline.${theme}.focus.png`)
})

test(`axe @aat #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`axe @aat ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link-features--underline',
globals: {
Expand All @@ -151,7 +151,7 @@ test.describe('Link', () => {
test.describe('Dev: Inline', () => {
for (const theme of themes) {
test.describe(theme, () => {
test(`default @vrt #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`default @vrt ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link-devonly--inline',
globals: {
Expand All @@ -166,7 +166,7 @@ test.describe('Link', () => {
expect(await page.screenshot()).toMatchSnapshot(`Link.Inline.${theme}.png`)
})

test(`axe @aat #{featureFlagEnabled ? '(css modules)':'(styled-components)'}`, async ({page}) => {
test(`axe @aat ${featureFlagEnabled ? '(css modules)' : '(styled-components)'}`, async ({page}) => {
await visit(page, {
id: 'components-link-devonly--inline',
globals: {
Expand Down

0 comments on commit ad0f34e

Please sign in to comment.