Skip to content

Facing issues in fetch the element with data-testid #4295

Description

@vsblabs

What are you trying to achieve?

With the latest release v3.6.0, I'm facing issue in fetching the element with data-testid

Its working fine in the earlier version i.e v3.5.15.

Details

  • CodeceptJS version: 3.6.0
  • NodeJS Version: v18.19.1
  • Operating System: linux/amd64
  • puppeteer || webdriverio || testcafe version (if related)
  • Configuration file:
'use strict'const{ setHeadlessWhen }=require('@codeceptjs/configure')setHeadlessWhen(process.env.HEADLESS)exports.config={tests: './codecept/PROJECT_NAME/tests/*.spec.js',output: './codecept/cdk/screenshots',helpers: {Playwright: {url: process.env.TEST_ENVIRONMENT_URL,show: true,browser: 'chromium',windowSize: '1200x900',restart: true,chrome: {ignoreHTTPSErrors: true},timeout: 100000},TabsHelper: {require: './codecept/PROJECT_NAME/utils/tabHelper.js'}},include: {I: './codecept/steps_file.js'},bootstrap: null,mocha: {},name: 'PROJECT_NAME'}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions