- Видео 43
- Просмотров 25 598
Error Farm
Финляндия
Добавлен 12 фев 2007
Software tutorials mostly about finding and fixing errors.
SAST Scan in Azure Pipeline: Step by Step Guide
Today's video tackles integrating static application security scanners into your Azure DevOps pipeline.
Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
More about SAST scanners: ruclips.net/video/XUheD08TdXA/видео.html
Chapters
00:00 - Intro
1:50 - Write Pipeline in Azure DevOps
6:46 - Run the Pipeline
8:02 - Publish Build Artifacts in Azure Pipeline
9:51 - Semgrep HTML Report
Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
More about SAST scanners: ruclips.net/video/XUheD08TdXA/видео.html
Chapters
00:00 - Intro
1:50 - Write Pipeline in Azure DevOps
6:46 - Run the Pipeline
8:02 - Publish Build Artifacts in Azure Pipeline
9:51 - Semgrep HTML Report
Просмотров: 10
Видео
Run Pipeline in Self-Hosted Agent in Azure DevOps (Step-by-Step Guide)
Просмотров 6519 часов назад
Today's all about taking charge of your CI/CD pipeline with self-hosted Azure DevOps agent/runner. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
Mejores Prácticas para Scripts de Pruebas con Selenium
Просмотров 9День назад
Vamos a hablar de las mejores prácticas para escribir scripts de prueba con Selenium. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Chapters 00:00 - No Pruebes Rutas HTML 1:48 - Evita Usar Índices 2:36 - Aislamiento de Pruebas 4:03 - Las Esperas Fluidas 5:26 - Asistentes de Código 6:07 - Otros Consejos
Chrome New Feature: Ask AI
Просмотров 5214 дней назад
How test automation people can benefit from Chrome DevTools Ask AI. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
Best Practices for Selenium Test Automation
Просмотров 6714 дней назад
Here are good language-agnostic guidelines for writing Selenium test scripts. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Chapters 00:00 - Don't Test HTML Paths 1:38 - Avoid Indexes 2:21 - Isolate Tests 3:42 - Use Fluent Waits 4:52 - Use Code Assistants 5:32 - Additional Good Practices
Best Features of Copilot for Playwright Test Automation & Unit Testing
Просмотров 13821 день назад
In this demo I'll show you some of Playwright's top features that can really benefit test automation developers. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Chapters 00:00 - Test Assertions with Copilot 1:14 - Creating Test Data with Copilot 1:47 - Creating a Test with Copilot 4:17 - Fixing Errors with Copilot 5:57 - Code Review with Copilot
Best Features of Copilot for Cypress Test Automation & Unit Testing
Просмотров 10728 дней назад
In this demo I'll show you some of Copilot's top features that can really benefit Cypress test automation developers. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Chapters 00:00 - Assertions & Test Data with Copilot 1:43 - Test Generation with Copilot 3:28 - Fixing Errors with Copilot 5:00 - Code Review with Copilot
How to Run Automated Tests in Docker Container
Просмотров 86Месяц назад
In this video you'll learn how to run Playwright tests or any other automated tests in a Docker container. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1
Gitlab CI/CD Pipeline with Copilot (plus Bitbucket conversion)
Просмотров 178Месяц назад
Today, we're tackling a hot topic: We'll experiment with Copilot to build CI/CD pipelines for both Gitlab and Bitbucket. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Chapters 00:00 - Creating a Pipeline with Code Assistant 10:35 - Recap of the Steps 11:05 - Converting Gitlab Pipeline for Bitbucket with Code Assistant
Selenium con Copilot en Automatización de Pruebas & Pruebas Unitarias
Просмотров 94Месяц назад
Esta semana, en nuestra serie de asistentes de código de IA, ponemos a prueba a GitHub Copilot con Selenium. Verás algunos trucos familiares de vídeos anteriores, pero también tengo nuevas técnicas preparadas para ti. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE Chapters 00:00 - Crear Pruebas de Software con Copilot 6:15...
Selenium with Copilot in Test Automation & Unit Testing
Просмотров 329Месяц назад
Today's episode in our AI code assistant series puts Github Copilot through its paces with Selenium. While you'll see some familiar tricks from previous videos, I've got new techniques lined up for you too. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE Chapters 00:00 - Creating Test Data & Tests with GitHub Copilot 5:53 -...
Selenium with Codeium in Test Automation & Unit Testing
Просмотров 91Месяц назад
Today we're continuing our AI code assistant series, and we're diving into using Codeium with Selenium. While you'll see some familiar tricks from previous episodes, I've got fresh techniques lined up for you too. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE Chapters 00:00 - Creating Test Data with Codeium 1:02 - Creatin...
Best Features of Amazon Q for Playwright Test Automation
Просмотров 178Месяц назад
Today I'll demonstrate some of the most impressive features a code assistant has to offer. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE Chapters 00:00 - Creating Test Data & Tests with Amazon Q 3:14 - Explain with Amazon Q 4:34 - Fixing Errors with Amazon Q 5:43 - Refactoring with Amazon Q 7:02 - Installing Amazon Q for ...
How to Set Up a Self-Hosted Gitlab Runner (Step-by-Step Guide)
Просмотров 4102 месяца назад
Hey everyone, welcome back! Today's all about taking charge of your CI/CD pipeline with self-hosted GitLab runners. With a self-hosted runner, it runs right on your local machine, but the pipeline script is still managed through GitLab. Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE Music by Patrick Patrikios (Apollo)
How to Set Up a Self-Hosted Bitbucket Runner (Step-by-Step Guide)
Просмотров 6082 месяца назад
How to set up and run your pipeline using a self-hosted Bitbucket runner. Bitbucket runners let you run builds on your own infrastructure, so you don’t get charged for the build minutes when you're using self-hosted runners-pretty cool, right? Subscribe: www.youtube.com/@errorfarm?sub_confirmation=1 Buy me a coffee: www.paypal.com/donate/?business=GBXFAMEBS7WHE Music by Patrick Patrikios (Apollo)
How to Use Databases in Playwright Scripts (Local & Gitlab Pipeline)
Просмотров 5102 месяца назад
How to Use Databases in Playwright Scripts (Local & Gitlab Pipeline)
Tutorial de Automatización de Pruebas con Playwright
Просмотров 1693 месяца назад
Tutorial de Automatización de Pruebas con Playwright
Beginner Tutorial: Playwright Test Automation
Просмотров 3924 месяца назад
Beginner Tutorial: Playwright Test Automation
Como Ejecutar Pruebas de Python en AWS Device Farm
Просмотров 1395 месяцев назад
Como Ejecutar Pruebas de Python en AWS Device Farm
Avoid these test automation anti-patterns!
Просмотров 1236 месяцев назад
Avoid these test automation anti-patterns!
Run Security Scans (SAST) in Bitbucket Pipelines
Просмотров 2846 месяцев назад
Run Security Scans (SAST) in Bitbucket Pipelines
Run SonarQube Scans in Gitlab CI/CD Pipeline
Просмотров 1,3 тыс.6 месяцев назад
Run SonarQube Scans in Gitlab CI/CD Pipeline
Run Playwright Tests in Gitlab CI/CD Pipeline
Просмотров 3,1 тыс.6 месяцев назад
Run Playwright Tests in Gitlab CI/CD Pipeline
Cómo Ejecutar Pruebas de Selenium en Gitlab CI/CD
Просмотров 1866 месяцев назад
Cómo Ejecutar Pruebas de Selenium en Gitlab CI/CD
Run Security Scans (SAST) in Gitlab CI/CD Pipeline
Просмотров 1,4 тыс.6 месяцев назад
Run Security Scans (SAST) in Gitlab CI/CD Pipeline
Run Selenium Tests in Gitlab CI/CD Pipeline
Просмотров 4,4 тыс.7 месяцев назад
Run Selenium Tests in Gitlab CI/CD Pipeline
Run Java Tests in AWS Device Farm (Appium, Android)
Просмотров 6077 месяцев назад
Run Java Tests in AWS Device Farm (Appium, Android)
Run Python Tests in AWS Device Farm (Appium, Android)
Просмотров 6067 месяцев назад
Run Python Tests in AWS Device Farm (Appium, Android)
Run NodeJS Tests in AWS Device Farm (Appium, Android)
Просмотров 6947 месяцев назад
Run NodeJS Tests in AWS Device Farm (Appium, Android)
tutorial for docker tpoo
I'll think about it. I can put it to my todo list. Currently I have 3 videos about Azure coming up.
I got this erro sh: 1: node_modules.bincucumber-js: not found
the ask ai is not available for me any idea why?
It is possible. I have it on my Mac, but not mobile.
cool
Thanks! 👍
thank you for the step by steps! I need some adjustment though, the SAST output does not produce any vulnerability when using Hackme source code, not sure why, but when I use other vulnerable source code (DVWA) it works like you showed.
Thanks for the feedback! You can try to use different scan types. Depending on the scanner, they have code scans, infrastructure scans, dependency scans and so on. Play around a little with them.
Help me I tried running serenity in gitlab with ci/cd, but so error: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver I tried fixing it with a number of solutions online but it didn't work
There isn't any clear fixes for that. First I'd try if Firefox or Webkit works. If one of the browsers work it's a Chrome setup issue or version issue. If none of the browsers work, it's POM issue or maybe mvn command parameter issue, like someone said that he could make it work by not using mvn clean install.
thnx bro 🙏
No problem
How I can see the report index.html like you ? When i want to open it, Git shows the message: "The source could not be displayed because it is stored as a job artifact. You can download it instead." I tried many things, but it keeps like that...
It’s because your repo is private. Do you share the artifact link to someone else who possibly isn’t logged in to Gitlab?
@@errorfarm Tnx !! I didn't share it, but my Git repository is associated with a university institution... it seems that it was set to private with no way to change it. Thank you very much for the video! It was really helpful, and thank you for responding... only then I could figure out the problem.
@@errorfarm is there anyway to view html online ? ( integrate to another tool ?
@@quang7944 You could add the HTML as artifacts if it's just static HTML, but probably not. So, you can also deploy the HTML to some staging environment after the testrun, even if the tests fail. That's the first idea that comes to my mind.
Thanks, very helpful for me 🥰
Thank you!
so good❤
Thanks for the feedback!
¡Qué interesante ver cómo GitHub Copilot se combina con Selenium para automatizar pruebas! 🤖 Siempre me ha fascinado la automatización. ¿Alguien más ha probado esto? Estoy aprendiendo en codigо hеrое y me encanta cómo todo está en español. 😊
Can you make the video again or help me :(, I'm having problems with the versions: [DeviceFarm] npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wdio/allure-reporter@9.1.3', npm WARN EBADENGINE required: { node: '>=18.20.0' }, npm WARN EBADENGINE current: { node: 'v18.16.1', npm: '9.5.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@wdio/reporter@9.1.3', npm WARN EBADENGINE required: { node: '>=18.20.0' }, npm WARN EBADENGINE current: { node: 'v18.16.1', npm: '9.5.1' } npm WARN EBADENGINE } among other errors like: Error: "ts-node/esm/transpile-only 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include `shortCircuit: true` in the hook's return. at new NodeError (node:internal/errors:399:5) at ESMLoader.resolve (node:internal/modules/esm/loader:846:13) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) and I just follow all your steps, however the unique difference is when doing in cmd: npm install -g npm-bundle, and I see: npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated glob@6.0.4: Glob versions prior to v9 are no longer supported
Sounds like your allure reporter needs higher Node version. Can you remove allure-reporter?
After creating this video, AWS has added support for Node version 20. Don’t use 18 anymore but use 20. So in the beginning type: nvm install 20.
@@errorfarm THAT was the error, thank you very much!!
@@JavierDíazFernández-c4b I’m glad you got it working. 👍🙂
gracias
De nada. ¡Gracias por los comentarios!
Gracias
De nada.
I am stuck with this error: [DeviceFarm] echo "Navigate to test package directory" Navigate to test package directory [DeviceFarm] cd $DEVICEFARM_TEST_PACKAGE_PATH [DeviceFarm] echo "Starting the Appium TestNG test" Starting the Appium TestNG test [DeviceFarm] java -Dappium.screenshots.dir=$DEVICEFARM_SCREENSHOT_PATH org.testng.TestNG -testjar *-tests.jar \ -d $DEVICEFARM_LOG_DIR/test-output -verbose 10 Error: Could not find or load main class org.testng.TestNG Caused by: java.lang.ClassNotFoundException: org.testng.TestNG
Did you add testng to the pom.xml?
Something went wrong, please try again. We could not find the tests directory in the *root* of your test package. Please unzip your test package, verify that the tests directory is in the root of your package, and try again. I am getting this error
Do you get any errors when you are going through "Create Package" part? In my video the part that starts at 5:20.
why this background sound?please remove that
Thanks for the feedback. I noticed later that background music is a little loud if you listen with laptops builtin speakers. I’ll tune the volume down later.
How come you're referring to XPATH only in the context of browser copied generic ones? Hand written xpath is super reliable, redable and easy to lear tool.
Correct. I make videos for beginners and it’s safer to teach them to use builtin locators and they can’t make mistakes. Later they can learn to distinguish what kind of XPath locator is good and what isn’t. And there’s another reason which I probably mentioned in some video that the way XPaths are resolved is browser dependent.
nice! any way to have another video to show how to use bitbucket dynamic pipelines ? thk you for your contents!
Thanks for the feedback! I'll consider that after my current project.
@@errorfarm any news?
@@lukecage9964 It’s on my list. 😊
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: ruclips.net/video/42jRjc923oE/видео.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!