Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Emulation with serenityjs #361

Closed
AbhineetSharmax opened this issue Oct 16, 2019 · 5 comments
Closed

Mobile Emulation with serenityjs #361

AbhineetSharmax opened this issue Oct 16, 2019 · 5 comments

Comments

@AbhineetSharmax
Copy link

AbhineetSharmax commented Oct 16, 2019

Hi Jan-Molak, @jan-molak Greetings!

Firstly, thank you for giving quick responses for each of our queries and giving us the opportunity to work on Serenity JS. Its is really easy to use.

The question is on mobile emulation with serenity,
while working with mobile browser emulation, found screen flickers alot on any of the Action performed on UI ex. clicks, input text. Request you to please help me with it. Thanks :)

Regards,
Abhineet Sharma

@AbhineetSharmax
Copy link
Author

@jan-molak, is it because of the reporter trying to capture the image for each action? Thank you 😊

@jan-molak
Copy link
Member

Hey @AbhineetSharmax - thanks for your kind words, I'm glad that you find Serenity/JS useful :-)

RE: flickering - It's difficult for me to tell without seeing the code. Would you be able to create a minimal test case (maybe by forking the template) that demonstrates the issue?

@AbhineetSharmax
Copy link
Author

AbhineetSharmax commented Oct 16, 2019

ya, below is my configuration for chrome.
capabilities:
{
browserName: 'chrome',
'chromeOptions': { 'mobileEmulation':{'deviceName': 'iPhone 5/SE'}}
}

}

after every action(click,input text) it zooms in the page for a sec. and zooms out to its original resolution. and when i checked the reports the resolution of the image for mobile seems bigger than the original(because on emulation the webpage gets emulated and remain pages left is white).

Thanks,
Abhineet Sharma

@jan-molak
Copy link
Member

Interesting, I don't see the zooming in / out behaviour you have observed on Protractor 5.4.2, Chrome 77.0.3865.120 with the Photographer configured to TakePhotosOfInteractions 😕

What version of Protractor/Chrome are you on? Also, do you see this behaviour when you run the template project with mobileEmulation switched on?

@jan-molak
Copy link
Member

Now that Serenity/JS 2.0 is out, let's look at any mobile emulation related issues under #323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants