aerokube / moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
http://aerokube.com/moon/latest
Apache License 2.0
222 stars 20 forks source link

Video uploading does not work #47

Closed hursevich closed 6 years ago

hursevich commented 6 years ago

Environment: Kubernetes on AWS + Amazon S3. Everything configured according to moon documentation, moon logs do not contain any error messages.

Chrome: Running tests with enableVideo results in creation of new folrders in S3 with selenium logs only.

screen shot 2018-08-15 at 10 14 44 am

Firefox: Firefox produces some default .mp4 files wth 1mb size regardless of test session time and it looks like video is broken, not ablt to play via Quicktime or VLC.

screen shot 2018-08-15 at 10 16 13 am

Also, strange behavior when enableVideo=true for FF and I'm trying to redefine videoFrameRate - it applies neither a string nor int value, returning an exception:

org.openqa.selenium.WebDriverException: parse request: json: cannot unmarshal number into Go struct field caps.videoFrameRate of type string 

or

org.openqa.selenium.WebDriverException: json: cannot unmarshal string into Go struct field Caps.videoFrameRate of type uint16 

So the only option to leave this value as default.

vania-pooh commented 6 years ago

++ add documentation about existing capabilities

ArunaBalasubramanian commented 5 years ago

@hursevich Is the below endpoint correct to establish the connection with AWS cloud to upload files onto S3?

      "s3": {
        "endpoint": "http://s3.amazonaws.com",
        "bucketName": "moon-storage",
        "version": "S3v2"
      }

I'm unable to connect to AWS with above set up. Please note that my organisation has set up MFA for account access.

vania-pooh commented 5 years ago

@ArunaBalasubramanian all the endpoints are here: https://docs.aws.amazon.com/general/latest/gr/rande.html Should be something like this:

      "s3": {
        "endpoint": "https://s3.us-east-2.amazonaws.com",
        "bucketName": "moon-storage",
        "version": "S3v4"
      }