Testcafe Source code is displayed instead of the application under test when Upgrading from 1.14 to a newer version - testing

When using a newer version of testcafe than 1.14, the application under test will not show. Seems somthing related to authentication. Which is weird because on 1.14 there is no issue with it. But on newer version the URL is stuck on the authetication part and does not seem able to pass. Also source code of testcafe is displayed on the UI instead of web content.
TO be able to acces the A.U.T, we need to use the .httpauth functionality (https://testcafe.io/documentation/402735/reference/test-api/test/httpauth) In the process of authentication a specific URL is visible and after authenticating we are redirected again to the A.U.T.
Sadly, after upgrading testcafe to a newer version, the auth does not seem able to pass and the URL gets stuck on the auth part. Also the source code of testcafe is showing on display
I expect the application under test is loaded the same it was on version 1.14

Related

Pptxgenjs appears to not work in IE11 even with jszip#3.1.5

Having read the previous versions of this question from 2020 this issue appears to have reared it's head again. I have tried these demos with my current jszip#3.7.0 and with jszip 3.1.5 using it as my application jszip and overwriting the jszip within pptxgenjs.
When using pptxgenjs in IE11 (Windows 10) it appears to work in that no errors are reported, what does happen is the browser alerts the user that: "You'll need a new app to open this blob link". The only option that is available at this point is then to go to "Look for an app in the Microsoft Store" of which no apps are available.
What this says to me is that pptxgenjs has done its job and has passed the blob link to the browser and the browser has said I have no clue you'll need to find something to open this.
I've attempted to run the demos in the same Windows 10/IE11 setup and they seem to do worse. the live demo doesn't error or offer the ability to download an app to support opening the blob link. The react demo errors to the console: SCRIPT438: Object doesn't support property or method 'endsWith'. The Basic Demo in the complete library of demos fails like the live demo not returning an error or acknowledging anything.
Is this a known issue? Is there another step to help IE11 with the blob link? Can anyone else get the demos to work and I should be looking at something else? Any thoughts would be appreciated.
Edit:
Apologies if this wasn't clear, but the demos I was referring to were the pptxgenjs demos found here: https://gitbrent.github.io/PptxGenJS/demos/ so focusing on the initial demo named 'Live Demo' the code that is being run is here: https://gist.github.com/gitbrent/84acbcaab54be0eba83f5206ef6ddd95#file-pptxgenjs_demo-js
Running this with all other key browsers such as edge, firefox and chrome all 'download' the generated file whereas running the same demo in IE11 fails silently.

Problem using Firefox ESR 45.4.0 and Vuejs 2

I am trying to deploy a vue application. I have to use Firefox ESR as browser (45.4.0) but I get the following error: TypeError: Object.values is not a function. If I use a different browser it works fine.
Could anyone help me?
Thank you
Support for Object.values was introduced in Firefox 47.
Your browser is from 2015. That is hideously ancient in Internet terms. Upgrade it.
(If you really want to to get the Vue application to work, you'll need to set up a Polyfill for Object.values. There is one linked from the MDN page I linked to above. It should also be available in core-js which can be used with Babel in the transpiling step of your build process.)

Why might my Vue.js project not show up during a CircleCI test using Cypress?

My project is built using Vue.js, powered by Nuxt
I’m using Cypress to write/run tests
I’m using CircleCI (v2) to run the tests
Locally, using Cypress’s instance of the Electron browser on macOS, the tests run correctly.
On CircleCI, the tests display a blank screen.
I’ve SSHed into CircleCI after the tests have failed, and if I make a curl request to the local server at that address, the correct HTML is returned to me.
My hypothesis is that the browser is not able to run Vue.js, but without a console log it’s hard to tell.
Any ideas as either how to continue debugging, or even better, fix it?
Edit: I’ve written an extra test to use another site, and it loaded correctly, so I can confirm that everything else is working.
Edit: It’s in my Nuxt config, just going through it now to pull out the line causing the problem.
So, of course this was super annoying. I’m not sure what the chances are of this happening to somebody else, but here’s the answer to my problem:
Google Analytics
On my CI I don’t have a GA code, and it was falling back to empty string, so it wasn’t able to load the page. It didn’t show up on the sever logs as it was an issue on the client side, and it’s not yet possible to easily get client logs using Cypress (coming soon).
Interesting, Thomas,
Could you open a GitHub issue with a link to a small repo that we can try ourselves? I do not see any factors that might affect running Cypress tests against Nuxt app on Circle

The version of mobile showcase

Currently I'm using DOJO 1.9 to develop, but it seems not run on IE. But I see that in the showcase run well with IE. I don't see the version of dojo.js using with showcase. Could you tell me the version of DOJO using in the mobile showcase?
http://demos.dojotoolkit.org/demos/mobileGallery/demo-iphone.html
Thanks!
To check dojo version, open your console and type dojo.version
In this case it's 1.8.0r30226

Why mozilla plugins and xulrunner being used by WebKitGTK?

I've got a simple application using WebKitGTK 1.6.0 that simply displays a webpage in a window.
When I browse a page using it that contains an Ogg/Theora video and HTML5 video element it appears this simple application is using some mozilla plugins and even xulrunner. Can somebody tell me why this is?
Here is a list of files open by the program using lsof.
I built WebKitGTK 1.6.0 and most of it's dependencies from source including gstreamer-0.10 and the gstreamer plugins. No where do I recall configuring WebKitGTK to using any mozilla plugins or xulrunner.
What might be causing the mozilla plugins, libtotem and xulrunner to be loaded? I provided the link to the files the application is using in hopes that it might provide a clue.
Lol, found the reason. I have FireFox, totem and totem-mozplugin installed on my system. Once I removed totem and totem-mozplugin, WebKitGTK used the appropriate Gstreamer plugins to render the video and audio.