Skip to main content

Questions tagged [playwright-typescript]

The tag has no usage guidance.

playwright-typescript
0 votes
1 answer
49 views

##[error] Build not found by name on azure pipeline

When running tests on Azure pipeline I get the following error for the BrowserStack Results task: Build not found by name. This is for automated tests running Playwright using Typescript. I tried ...
user26468708's user avatar
0 votes
0 answers
12 views

Playwright component test ct-react with problems with AWS-SDK (AWS$1L.STS.prototype)

everyone! I'm trying to use @playwright/experimental-ct-react to test a component called Footer.js which executes a function which uses aws-sdk. When I try to execute the tests with the command npm ...
Alice David dos Santos's user avatar
0 votes
1 answer
22 views

not being able to use storageState in playwright when navigation the website

I am trying to use playwright setup and pre-authenticated users to run few tests, yet I faced an issue when the storage file is set but not being used by playwright, here is the codes that I used: ...
a0m0rajab's user avatar
  • 374
0 votes
0 answers
19 views

How to access the datepicker icon to open the calendar in Blazor, where it has an inbuild input type as date in playwright

I have the input field with the type date: How to select the datepicker icon to open the calendar in PlayWright. My element has input information  type= "date" if i click it is only clicking ...
VINITHA BHASKAR's user avatar
2 votes
1 answer
38 views

How to getProperty in Playwright

I need to get a property from the element. How do I do that in playwright? I can do getAttribute but I don't see an option for getProperty?
Avicky's user avatar
  • 101
0 votes
0 answers
19 views

Playwright Test runner struggles with clicking combobox elements and opening option lists. Inconsistent behaviour

Video1: https://drive.google.com/file/d/1BYTFZ5O_0dwTKAuS3siqiQseh8LcWYmH/view?usp=drive_link Video2: https://drive.google.com/file/d/1fyBVhQM2brEAdgJQNeRcLRtJNfXGnNMq/view?usp=drive_link Video3: ...
tem's user avatar
  • 25
0 votes
0 answers
10 views

Playwright (TS) - API tests error on a '401', but only within one spec file

So I have a set of 12 spec files with various tests. All of them are working as expected, par one file that returns a 401 error on all requests doe within it. All of my tests get the api key from the &...
Joshua Mellon's user avatar
0 votes
0 answers
55 views

No longer able to dynamically import JSON files in Playwright

It used to be possible to dynamically import JSON files in Playwright, however, I recently updated all my NPM packages and I now get the following error. TypeError: Module "file:///c:/mouse/tests/...
PeterByte's user avatar
  • 3,654
0 votes
0 answers
24 views

Playwright can annotations be seen in Azure pipeline test reports

I'm using annotations to document when a test should fail because of a known bug. How can I get the information to show in Azure pipeline reports, in a similar way to how they are shown in html ...
Vincenzo Perretta's user avatar
0 votes
0 answers
32 views

Playwright authentication state gives me a cookies empty array

I have used Playwright to enable the authentication state (shared account in all tests) but I got this result: { "cookies": [], "origins": [ { "origin": &...
Aron's user avatar
  • 1,244
1 vote
0 answers
38 views

Playwright: how to interact with Angular Material checkbox

I have an Angular component that contains an Angular Material checkbox: <mat-checkbox id="my-checkbox">My Checkbox</mat-checkbox> My goal is to test the containing application, ...
Tim Coulter's user avatar
  • 8,895
0 votes
2 answers
45 views

How to handle a iframe which is available in another iframe

There is a iframe which is embedded in another iframe in a page. I need to do action in elements which is present in child iframe and exactly here facing an error to perform action on element. Rough ...
VINAY M's user avatar
2 votes
0 answers
30 views

bot detection, hasInconsistentGPUFeatures

I am trying to set up a playwright bot that can bypass bot detection and I am using https://deviceandbrowserinfo.com/are_you_a_bot to test. I am failing "isWebGLInconsistent" (though my main ...
splake's user avatar
  • 21
0 votes
0 answers
65 views

Console.log doesnt output logs when tests are run using "Playwright Test for VS Code"

When I run playwright tests, written in Typescript, the logs are not output on the console. I have console.log statements which do output fine when I debug the tests and are shown under "Debug ...
CodeObsession's user avatar
0 votes
0 answers
26 views

Is it feasible to run part of test cases parallelly and part of test cases sequentially at the same time in Playwright

I need to run my automation test suite on multiple workers to reduce execution time. There are a few test cases that use the same endpoint with different configurations. please refer the bellow ...
isuru prasad's user avatar

15 30 50 per page
1
2 3 4 5
11