Comments (4)
@alex-buyanov is your Java code finishing its work? Moon closes Playwright sessions only when respective web-socket connection from your code is closed. If your code is stuck, then Moon session will be stuck too until you stop this code.
from moon.
Nope. That's exactly the problem: a random test (or a couple of them) just get stuck during interactions between Playwright and Moon indefinitely.
I suspect that there is some kind of clash between TestNG threading model, Playwright Java and Moon. And I have no idea how to troubleshoot this :D
Running tests sequentially (non-parallel) eliminates the issue, but that's not a solution. Running tests without Moon also helps, but this is not a solution either.
I thought maybe somebody else have seen such an issue, but Google has failed me.
from moon.
@alex-buyanov what is the version of playwright-java library and what playwright version do you request in Moon URL? Both versions should match.
from moon.
I use Playwright 1.38.0 as of now. And I request the same version from Moon: I made sure versions are the same by checking the test code + actually looking at Moon's GUI (sessions have labels with Playwright version). Everything matches.
I also tried using older versions of Playwright, but that did not have any effect.
from moon.
Related Issues (20)
- Automatically attach cypress-moon binaries to Moon releases
- Init containers support for Moon deployment
- Apply context data to init defender container HOT 1
- Not able to download the file in Moon browser HOT 6
- Sessions don't start - no such config: "default" HOT 2
- Monitoring: queued metric is calculated incorrectly
- Clipboard functionality does not work as expected
- VNC server does not start on Openshift
- Moon UI Console HOT 1
- Improve new Moon UI VNC performance HOT 1
- VNC container does not start in Openshift HOT 1
- Document `vnc-server-openshift` image HOT 1
- Slack sign-in page cannot be launched with Chrome browser on moon HOT 3
- Watch users file for changes in moon-basic-auth container
- File download and list API for Playwright, Cypress, Devtools HOT 2
- VNC image for Openshift is broken HOT 1
- Chrome and edge sessions are not created HOT 3
- Ability to specify livenessProbe for moon-conf container HOT 1
- Video recording with sound
- Slow down of tests - Debugging HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moon.