![Device Error Farm](/img/default-banner.jpg)
- 34
- 10 441
Device Error Farm
Finland
Registrace 12. 02. 2007
Software tutorials mostly about finding and fixing errors.
Beginner Tutorial: Playwright Test Automation
This is a no-nonsense, high-impact tutorial packed with everything you need to start contributing right away.
Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE
Chapters
1:00 - Installing Node.js to any OS
2:30 - Installing Playwright and Creating First Test
5:17 - Locating Elements in Playwright
16:25 - Assertions in Playwright
27:50 - Visual Comparisons in Playwright
31:20 - Configurations in Playwright
34:23 - Cross-browser Testing with Playwright
38:22 - Debugging with Playwright
44:52 - Authentication Best Practices with Playwright
52:43 - Best Practices with Playwright
Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE
Chapters
1:00 - Installing Node.js to any OS
2:30 - Installing Playwright and Creating First Test
5:17 - Locating Elements in Playwright
16:25 - Assertions in Playwright
27:50 - Visual Comparisons in Playwright
31:20 - Configurations in Playwright
34:23 - Cross-browser Testing with Playwright
38:22 - Debugging with Playwright
44:52 - Authentication Best Practices with Playwright
52:43 - Best Practices with Playwright
zhlédnutí: 47
Video
Como Ejecutar Pruebas de Python en AWS Device Farm
zhlédnutí 65Před měsícem
Hoy te mostraré paso a paso cómo crear una prueba simple y subirla a AWS Device Farm. No se requieren conocimientos previos de Appium. Suscríbete: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 Más sobre la automatización de pruebas: czcams.com/play/PL2M5QMIFasspDTISNun5KTPGM6pcCNQA4.html Más sobre pruebas de Appium: czcams.com/video/PxH9Y3DDp1E/...
Avoid these test automation anti-patterns!
zhlédnutí 59Před 2 měsíci
Welcome back to the Playwright Anti-Patterns series! Ever frustrated by random test failures that leave you scratching your head? Today's episode tackles the culprit behind many mysterious failures - locators. Let's crack the code on writing rock-solid locators that keep your tests stable. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=...
Run Security Scans (SAST) in Bitbucket Pipelines
zhlédnutí 111Před 2 měsíci
Today's video tackles integrating static application security scanners into your Bitbucket pipelines. We'll explore three awesome free options for smaller teams. We'll throw the same test target at each scanner and see which one finds the most bugs. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE More about SAST scanners: c...
Run SonarQube Scans in Gitlab CI/CD Pipeline
zhlédnutí 255Před 2 měsíci
In this video I show you how to integrate SonarQube scanner to Gitlab CI/CD pipeline. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about SAST scanners: czcams.com/video/XUheD08TdXA/video.html Chapters 0:00 - Sonar Scan on Local Computer 4:24 - Sonar Scan in Gitlab 10:21 - View the Report Music by King Canyon and Mini Vandals.
Run Playwright Tests in Gitlab CI/CD Pipeline
zhlédnutí 1,1KPřed 2 měsíci
Here's a quick introduction to how to create a Playwright test and add that test to Gitlab CI continuous integration. The test will run every time you push changes to the Gitlab repository. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automation: c...
Cómo Ejecutar Pruebas de Selenium en Gitlab CI/CD
zhlédnutí 88Před 3 měsíci
Bienvenidos al tutorial de hoy, donde exploraremos las pipelines de CI/CD de GitLab y cómo usarlas para ejecutar pruebas de Selenium.
Run Security Scans (SAST) in Gitlab CI/CD Pipeline
zhlédnutí 497Před 3 měsíci
In this video I'll show you how to integrate security scanning into GitLab CI/CD Pipelines. We’ll start with the default scanner and then explore a couple of alternative methods. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html Chapters 0:00 - Intro 4:00 - Insufficien...
Run Selenium Tests in Gitlab CI/CD Pipeline
zhlédnutí 1,8KPřed 3 měsíci
In this video, I show you how to integrate automated Selenium tests to Gitlab Pipelines. You'll learn how to configure the pipelines to install the test framework, run cross browser tests and save artifacts. (Updated version) Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFT...
Run Java Tests in AWS Device Farm (Appium, Android)
zhlédnutí 258Před 3 měsíci
In this video, I will show you how to upload a Java test to AWS Device Farm and then run it. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automation: czcams.com/play/PL2M5QMIFassopiGvk4KMR-KB1Xq61QDtG.html More about Appium tests: czcams.com/video/...
Run Python Tests in AWS Device Farm (Appium, Android)
zhlédnutí 287Před 3 měsíci
In this video, I show you how to upload a Python test to AWS Device Farm and then run it. (Updated version) Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automation: czcams.com/play/PL2M5QMIFassopiGvk4KMR-KB1Xq61QDtG.html More about Appium tests: cz...
Run NodeJS Tests in AWS Device Farm (Appium, Android)
zhlédnutí 360Před 4 měsíci
In this video, I show you how to upload a NodeJS test to AWS Device Farm and then run it. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automation: czcams.com/play/PL2M5QMIFassopiGvk4KMR-KB1Xq61QDtG.html More about Appium tests: czcams.com/video/tzp...
Boost Build Times with Playwright Test Sharding
zhlédnutí 97Před 4 měsíci
In this video, I'll guide you through the process for setting up test sharding in GitLab, GitHub, and Bitbucket Pipelines. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automation: czcams.com/play/PL2M5QMIFassopiGvk4KMR-KB1Xq61QDtG.html Music: www.y...
Best Practices for Github Actions, Gitlab CI/CD and Bitbucket Pipelines
zhlédnutí 112Před 4 měsíci
Best practices for creating good .yml workflows for Github Actions, Gitlab CI/CD and Bitbucket Pipelines. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automation: czcams.com/play/PL2M5QMIFassopiGvk4KMR-KB1Xq61QDtG.html Music: www.youtube.com/@Track...
Run Security Scans with Github Actions
zhlédnutí 70Před 5 měsíci
In this video, I show you how to integrate security scans into your continuous integration environment so that every time you push new code to Github, an integrated security scanning goes to work. Subscribe: www.youtube.com/@mvenell?sub_confirmation=1 LinkedIn: linkedin.com/in/martti-venell-076910261 More about CI: czcams.com/play/PL2M5QMIFassoKum7fCegchmtyYhUFWFTX.html More about test automati...
Run Cypress Tests in Gitlab CI/CD Pipeline
zhlédnutí 574Před 5 měsíci
Run Cypress Tests in Gitlab CI/CD Pipeline
Run Playwright Tests in Bitbucket Pipelines
zhlédnutí 639Před 5 měsíci
Run Playwright Tests in Bitbucket Pipelines
Run Selenium and Cypress Tests in Bitbucket Pipelines
zhlédnutí 959Před 5 měsíci
Run Selenium and Cypress Tests in Bitbucket Pipelines
Analysis of AI Code Generation Quality
zhlédnutí 91Před 5 měsíci
Analysis of AI Code Generation Quality
Visual Comparisons Tutorial with Playwright Test Framework
zhlédnutí 97Před 7 měsíci
Visual Comparisons Tutorial with Playwright Test Framework
Finding Elements Tutorial with Playwright Test Framework
zhlédnutí 57Před 7 měsíci
Finding Elements Tutorial with Playwright Test Framework
Playwright (Python): Installation and the First Test
zhlédnutí 155Před 7 měsíci
Playwright (Python): Installation and the First Test
Playwright Installation and the First Test in Typescript
zhlédnutí 121Před 7 měsíci
Playwright Installation and the First Test in Typescript
How to Make Your First Appium Mobile Test
zhlédnutí 33Před 7 měsíci
How to Make Your First Appium Mobile Test
Connect MongoDB to Playwright Tests and Make Fetches
zhlédnutí 91Před 8 měsíci
Connect MongoDB to Playwright Tests and Make Fetches
How to Run Automated Tests in the Cloud part 2 (Google Cloud)
zhlédnutí 32Před 8 měsíci
How to Run Automated Tests in the Cloud part 2 (Google Cloud)
How to Run Automated Tests in the Cloud (AWS)
zhlédnutí 12Před 8 měsíci
How to Run Automated Tests in the Cloud (AWS)
I get this error message, with exactly the same .yml file "npm error The `npm ci` command can only install with an existing package-lock.json or npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or" Can you help?
Yes, of course. Check from your repo that you committed also package-lock.json. If you use npm ci, it needs that. You can also try leaving out the npm ci line, but that’s not the recommended way (by the Playwright team).
@@errorfarm thanks for the Quick reply. I'm a beginner in test automation. In which folder do I need to check? In the node_modules folder I do only see a package.json and not a package-lock.json. What is the easiest way to fix this?
It should be in the project folder (not in node_modules folder). Go to that folder with terminal or command prompt. Check what files are in the version control by typing 'git status'. Then add the file 'git add package-lock.json'. Commit: 'git commit -m "Added package lock file"'. Push: 'git push'.
Good tutorial Thank you for your created.
Thanks for the feedback!
The name of the link relies on the name assigned to the html element, the one that pops up at mouse hovering and the one screen-readers read, correct? So for multilingual page testing the names are supposed to be "translated", Yes? Thanks for video, felt a little bit dry, maybe like AI generated, but I understand the effort needed. I got info on this topic that I am extremely moist about currently. Thanks for this, really.
Yes and yes. Thanks for the feedback!
Great. All working with my own tests. Very useful video. Thanks.
Glad it helped!
Hello can I connect device from aws with android studio
Not that I'm aware of. I haven't thought about it though.
Super helpful! Could you please also explain how to add screenshots to the report please? If it is possible of course 😊
Thanks for the feedback! Saving screenshots to the reports is not supported as well as in other platforms like Playwright. I'll add that to my todo list and probably make another video about it.
Thanks, I am implementing it right now. Didn't know about the /** and sharding implementation. I messed around a lot with trying to get artifacts working for snapshot storage... Have a baseline job, and then 2nd job scheduled to pass it's own artifacts around as they all have 1week expiriy... Lots of steam... Now I think I will store the snapshots with scp on a server and retrieve them everytime the test runs... That part of the management would be nice to know. our MVP for testing automation is pure visual regression testing... getting close though. Thanks for this!
Thanks for the feedback!
can you prepare a demo using playwright on bitbucket pipelines running tests with multiple workers and shards?
Here's my video about test sharding: czcams.com/video/42jRjc923oE/video.html
Hola, como haces para ejecutar appium en la misma terminal donde esta el emulator?
Agrega un signo de ampersand después del comando.
@@errorfarm voy a probar, gracias por responder.
Por cierto en Windows usa start /B y el comando.
Estoy iniciando en el mundo del Testing, y aprendiendo Appium y me gustaría aprender más. gracias por el aporte.
Hola como estas? quisiera un curso me podrias pasar tu numero? o instagram
Hola, podrías explicar como instalas Qemu y la imagen del móvil Pixel 7, gracias
No he usado Qemu desde hace algún tiempo. Lo siento, no puedo ayudarte ahora.
Thanks alot, please add more Playwright+Typescript tutorials
Thanks for the feedback! I will try to add more Playwright content. It is my favorite framework.
Thanks , very helpful 🤩
Thank you for the feedback!
This deserves waay more view mate, so helpful 👍🏽
Much appreciated!
What's that song
There are three songs from Track Tribe: 1. Last Train North 2. As You Were 3. Now I Know
Hello, first of all, I appreciate your efforts. I hope you receive ample rewards for them. How can I run a Java Selenium/Cucumber Maven test on Bitbucket Pipelines? I'd appreciate your assistance with this. When I try to run it, I encounter the following issue: 'Run 1: Failed to instantiate class stepdefinitions. Run 2: Could not start a new session. Response code 500. Message: session not created: Chrome failed to start: exited normally. (session not created: DevToolsActivePort file doesn't exist). (The process started from chrome location /opt/google/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)' I would be grateful for your help. Thank you. Have a productive day.
Sounds like you are using a local chromedriver. My videos are not about those issues. This may help you if you want to install chromedriver yourself: www.npmjs.com/package/chromedriver
@@errorfarm thanks for help. good luck for life
Hi, great working
Thanks!
Great video! If it had been added how to register a gitlab runner, it would have been super
Thanks for the idea!
how to Running Tests In Parallel Using cypress-split in Bitbucket Pipelines?
You can try it with parallel steps defining npx cypress split=true in multiple parallel steps. Here is how to define parallel steps: support.atlassian.com/bitbucket-cloud/docs/parallel-step-options/
Can't we get the package or the apk from code pipeline artifacts once we design a build pipeline for our test automation framework ? Sorry if the question is silly, as I am new to Appium. Nice video by the way
Yes we can. Here's more info about that: docs.aws.amazon.com/devicefarm/latest/developerguide/codepipeline.html
I am facing issue when i run the code on aws device farm Continue... 2024-04-23T11:54:58.539Z WARN @wdio/config:ConfigParser: pattern ./test/specs/test.e2e.ts did not match any file 2024-04-23T11:54:58.539Z ERROR @wdio/cli:launcher: No specs found to run, exiting with failure 2024-04-23T11:54:58.540Z INFO @wdio/cli:launcher: Run onComplete hook Spec Files: 0 passed, 0 total (0% completed) in 00:00:04
@@nitinpunyani6001 This is either wdio configuration issue or the npm bundle does not contain the test files. Check: 1. the configuration that ./test/specs/test.e2e.ts is the correct path and 2. check what is inside the npm bundle that test.e2e.ts is there.
@@errorfarm When i run the npm-bundle command after that i am facing this issue: ``````` PS D:\MobileAutomationDeviceFarm ode-device-farm> npm-bundle C:\Users\pc1\AppData\Roaming vm\v18.20.2 ode_modules pm-bundle\bin\cli.js:11 throw error ^ [Error: ENOENT: no such file or directory, open 'D:\MobileAutomationDeviceFarm ode-device-farm\.npmbundle ode_modules\device-farm\package.json'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'D:\\MobileAutomationDeviceFarm\ ode-device-farm\\.npmbundle\ ode_modules\\device-farm\\package.json' } Node.js v18.20.2 ``````
Please tell me what will be the soultion?
Good one Martti
Thank you!
Hi, great tutorial. Can you help me? I don't get a artifacts. I have a tab with build only
Okay. You can check with ls command if your artifact directory really exists and also that the folder contains something and it isn't empty. For example: ls -la artifact-folder/*
Awesome
Thanks!