Skip to content

Commit

Permalink
test(skip): skip only base.selections test
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermerodz committed Feb 19, 2024
1 parent 469c945 commit bac6e92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 0 additions & 2 deletions test/src/tests/base.delete-word.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ test.beforeEach(async ({ page }) => {
})

test.describe('Delete words', () => {
// test.skip(process.env.CI === 'true', 'Breaks in CI as it cannot handle Arrow or Shift keys')

test('should backspace previous word (even if there is not a selected character)', async ({ page }) => {
const input = page.getByTestId('otp-input-wrapper').getByRole('textbox')

Expand Down
8 changes: 4 additions & 4 deletions test/src/tests/base.selections.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ test.beforeEach(async ({ page }) => {
})

test.describe('Base tests - Selections', () => {
// test.skip(
// process.env.CI === 'true',
// 'Breaks in CI as it cannot handle Arrow or Shift keys',
// )
test.skip(
process.env.CI === 'true',
'Breaks in CI as it cannot handle Shift key',
)

test('should replace selected char if another is pressed', async ({
page,
Expand Down
5 changes: 0 additions & 5 deletions test/src/tests/with-allow-navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ async function copyAndGetClipboardContent(params: {
}

test.describe('With allow navigation tests', () => {
// test.skip(
// process.env.CI === 'true',
// 'Breaks in CI as it cannot handle Arrow or Shift keys',
// )

test('should allow navigation to the sides (arrows only)', async ({
page,
context,
Expand Down

0 comments on commit bac6e92

Please sign in to comment.