Forum Discussion

JingLi1123's avatar
JingLi1123
Icon for Microsoft rankMicrosoft
Apr 11, 2022

How copy edge profile work for end to end tests

Hi, recently our team try to setup some end to end tests for our website, and we need to use the edge profile's address/personal information, so how we do is:

1. login edge with a MSA accounts with some specific address and personal info

2. copy this profile to our test machine, and start the test browser by edge.exe --disable-sync, and it work well.

 

but recently we try to deploy this test into Azure pipeline, and it always show that it did not detected this profile,  and we need to sign in again. We already check that:
1. the edge version is the same as profile's version;

2. the Azure pipeline machine is the same system with our local test machine;
3. we check the edge://versions, we found the profile path is our profile;

 

Could you help us to figure it out:
1. when the profile will be expired when we use --disable-sync? because we are afraid even now, it work well in my local, some day if the edge version update, it will hard failed by the profile expired.
2. why this profile did not work in Azure pipeline?

3. or do we have some other solution can help us to write this type of end 2 end tests in Azure pipeline, which are dependent on edge profiles data? 

 

Thanks so much!

Resources