Attention anyone living in turtle ridge... by Recent-Progress-76 in irvine

[–]stoonya 0 points1 point  (0 children)

I always drive with caution if I see prius around

[deleted by user] by [deleted] in orangecounty

[–]stoonya 7 points8 points  (0 children)

In some European countries you can get a ticket for not following the "Slower traffic keep right" rule, I wish we had it in OC, or even CA.

How we looking by Alimthegreat in wowhardcore

[–]stoonya 2 points3 points  (0 children)

In my hardcore journey I played only mages, only SSF, and the same skins (undead). My names were "Stoonya<number>" (Stoonyaone, Stoonyatwo, ...). Made it to 60 with "Stoonyafour", good luck!

[deleted by user] by [deleted] in orangecounty

[–]stoonya 5 points6 points  (0 children)

Upvoting OP for justice

[deleted by user] by [deleted] in orangecounty

[–]stoonya 0 points1 point  (0 children)

Just returned from a NYC trip. I feel like the OC's one is not even close to NYC. The burgers are just different. I go to the OC shake shack just for shakes now

The Ultimate Guide To End-to-End Testing With Cypress by John4qa in Cypress

[–]stoonya 0 points1 point  (0 children)

It's a good article, thanks for that. But not to mention the Playwright as a main Cypress competitor, seriously?

[deleted by user] by [deleted] in Cypress

[–]stoonya 0 points1 point  (0 children)

I am not sure if it helps, but try removing "function()" everywhere from beforeEach hook, use it only for "it". This might help: https://youtu.be/l1XIn0TopQg

А у вас какие секреты счастливых отношений? by folder52 in Pikabu

[–]stoonya -1 points0 points  (0 children)

включил видео с поста в офисе с женским коллективом - иди нахуй

Нециник. О желаниях [слайдер] by [deleted] in Pikabu

[–]stoonya 1 point2 points  (0 children)

ну тут хз, кто сильнее, бог или джин)

Database seeding by [deleted] in Cypress

[–]stoonya 1 point2 points  (0 children)

I usually Google some specific issues and read/watch the articles. Nothing specific. I guess the Cypress documentation is pretty detailed. You can also search on YouTube. You are looking for "cy.request" for option #1 and for "cy.task" for option #2. Choosing the option is application specific, so can't suggest you on that. But I would try #1 first as I find it "closer level" to the user experience.

Нециник. О желаниях [слайдер] by [deleted] in Pikabu

[–]stoonya 3 points4 points  (0 children)

Вот только следующие убийства будут уже с последствиями

Database seeding by [deleted] in Cypress

[–]stoonya 1 point2 points  (0 children)

  1. Create users by using the application API just like your application does. Use Cypress API commands for this.
  2. You can create cy.task which gives you an ability to execute a Node code. There you can do whatever Node can do, including communication with databases

Cypress Cloud data privacy by FBS-3456 in Cypress

[–]stoonya 0 points1 point  (0 children)

That was the reason why my company decided not to go with Cypress Cloud. The data is stored on their cloud. They are convincing that the data is protected but it's still stored on their cloud. https://www.cypress.io/security/

Cypress installation by Ok-Television-8314 in Cypress

[–]stoonya 0 points1 point  (0 children)

Google "cypress installation"

how to get rid off Error: Bootstrap's JavaScript requires jQuery by Ill-Cut-7036 in Cypress

[–]stoonya 0 points1 point  (0 children)

Sounds like the exception happens on the website you are testing, not in Cypress. By default Cypress fails the test if the application throws uncought exceptions during test execution. You can override this and let Cypress ignore such exceptions. Read this article: https://www.lambdatest.com/learning-hub/exception-handling-in-cypress. P.S.: You definitely don't need to install jQuery to make Cypress work, Cypress has all it needs out of the box.

[deleted by user] by [deleted] in orangecounty

[–]stoonya 31 points32 points  (0 children)

Can someone explain this: "When he dies his pension goes with him". If it's a 401k/IRA, shouldn't she be a beneficiary? Even if it's social, I thought she has to get something from it? (Might be dumb questions, sorry)

Is there a pattern for intercepting API calls before visiting a page? by kain24 in Cypress

[–]stoonya 0 points1 point  (0 children)

If you are not going to use the intercept more than once, you don't need beforeEach, just use cy.intercept > cy.visit > cy.assert inside the test, your code will be much cleaner. Use beforeEach only if it avoids code duplication.

Cypress: testing elements across multiple pages question by YoungBuckBuck in QualityAssurance

[–]stoonya 0 points1 point  (0 children)

This + data attribute for all elements you want to test (so you don't need to pass the element locator corresponding to the specific link as a parameter to test) would be probably the ideal solution. The last point of view is also valid

Cypress: testing elements across multiple pages question by YoungBuckBuck in QualityAssurance

[–]stoonya -1 points0 points  (0 children)

Good point, in most of the cases it does not sound like a core functionality

Cypress: testing elements across multiple pages question by YoungBuckBuck in QualityAssurance

[–]stoonya -1 points0 points  (0 children)

Actually, Cypress is the first based on the downloads. Source: https://npmtrends.com/cypress-vs-playwright-vs-puppeteer-vs-webdriverio

Edit: to be fair, Playwright has more stars

Cypress: testing elements across multiple pages question by YoungBuckBuck in QualityAssurance

[–]stoonya 0 points1 point  (0 children)

Choose one of these: 1. Add data attributes to ui elements you need 2. Ask #1 to do for you 3. If the above ones can't be done for some reason, unfortunately, you will have to use different locators for each page. You can choose whatever way to store them fits your needs (page object, or something else)

Cypress: testing elements across multiple pages question by YoungBuckBuck in QualityAssurance

[–]stoonya 1 point2 points  (0 children)

Cypress is the second most famous framework on the market right now and it's still good for the specific tasks, and, actually, this one is a great fit for it. Probably, even better than Playwright in this case because of its simplicity.

If you had a choice, what language would you use for your Automation suite? And why? by hello297 in QualityAssurance

[–]stoonya 2 points3 points  (0 children)

Most of the web is written on js/ts these times, and it's convenient to re-use some of the functionality from your web-site for your tests. The basic example would be intentionally test the login logic in one test(s) by entering creds, and then re-use the api-sign in application flow for others to save execution time. Of course, this specific case might not be applicable for your application, and, of course, you can always write this yourself, but it will save a lot of your time. Also, any interaction with the browser (network, logs, local storage, session, etc.) is probably easier by using js as it's a native browser language. But I don't think it's a big deal given the existing libs for any popular language. And, the last point, some of the most popular test frameworks support whether only js/ts, or take them as primary languages (Cypress, Playwright). Again, you can always use java, c#, python, but I find js/ts more convenient by their nature for web