Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

My playwright test cases are failing against localhost of my react app while running pipeline

Senthil kumar B April 28, 2024

My playwright test cases are failing against localhost of my react app while running bitbucket pipeline but in the same flow if run it in locally all my test cases are passing ..
what will be issue ?

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2024

Hi @Senthil kumar B and welcome to the community!

What kind of error do you see? Are your tests not connecting to localhost or are you seeing a different error?

Kind regards,
Theodora

Senthil kumar B May 2, 2024

I Need to Connect to the Firebase emulator only in the bitbucket pipeline (ci/cd ) environment but this code is not working fine as i expected 

if (process.env.CI === "true") {
console.log("Connecting to Firesbase emulators..");
connectAuthEmulator(auth, "http://127.0.0.1:9090");
}
what might be the issue ?
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 6, 2024

Hi,

What kind of error do you get?

If your tests can't connect to http://127.0.0.1:9090, the service may not be up and running yet when you try to connect.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events