Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
20 views

I've migrated my angular 21 tests from jasmine to vitest. And for some of my tests I use separate helper classes (like Page object models). For example: export class SignUpPageObject { constructor(...
AlexB's user avatar
  • 4,684
0 votes
1 answer
38 views

import subprocess import os from selenium import webdriver from time import sleep import getpass username = getpass.getuser() sleep(5) port = str(_AD_.Port) ##print(port) cmdurl = 'http://localhost:{}'...
Jaswanth Chowdary's user avatar
1 vote
2 answers
120 views

I am new to Java and Spring Boot. I am building a small CRUD app to learn about JPA and the H2 database. This is my POM file: <?xml version="1.0" encoding="UTF-8"?> <...
Robert Meissner's user avatar
Best practices
0 votes
0 replies
22 views

I started using Playwright, and one of the first things I noticed is that if you're trying to implement a custom page object that stores methods, click actions, and assertions, you should create a ...
Cholis's user avatar
  • 109
0 votes
0 answers
41 views

I am trying to do a sound test on the ESP32 Audio Kit, I have tried lots of things but no sound comes out, knowing that when I upload my Arduino code it does nothing until I press the RST button. In ...
Sorian's user avatar
  • 1
0 votes
0 answers
22 views

“I want to understand what integration testing is and how it is done in different platforms. How do we test that parts of an app work well together in Canvas Apps, Model-Driven Power Apps, and regular ...
Thejashree Theja's user avatar
Advice
0 votes
3 replies
65 views

I know that Playwright has Page class with goto() method, but it accepts url only. In my use case I'll most probably test sites knowing only their domain, so I'd have let's say google.com as url ...
Krolik1337's user avatar
-1 votes
2 answers
61 views

I have an app for listing my books. I want to test my code in chrome and firefox both, using the fixture in my database but without touching the real database. In the database I have some data for the ...
fabio's user avatar
  • 1,387
1 vote
1 answer
81 views

In my component I have httpResource: export class EmployeesComponent { employees = httpResource<EmployeeResponseDtoOutput[]>(() => '/api/employees', { defaultValue: [], }); } and in ...
TalVik99's user avatar
  • 314
0 votes
1 answer
52 views

Hello i am new on nicegui, i create a simple app where i need to upload the files and store this files on ftp server. I start to make some tests with nicegui.testing.User (i use this package because i ...
Youcef's user avatar
  • 1
Tooling
0 votes
1 replies
40 views

For testing Prisma, I used prismock or prisma-mock . But those packages are compatible with Prisma version 6 or earlier. I visit the Prisma Official website, and they are suggesting using jest-mock-...
Saiful Islam's user avatar
Tooling
1 vote
1 replies
62 views

I’m setting up integration tests in a Flutter project and noticed an inconsistency between the official documentation and the current state of the packages. The official Flutter documentation still ...
Anderson André's user avatar
0 votes
0 answers
16 views

I'm using Kiwi TCMS and I can't find the option to create a new Test Suite. I expected to see a "New Suite" button under Test Cases, but it's not visible in my interface. These are the steps ...
Mostafa Essam Rohayem's user avatar
Tooling
1 vote
2 replies
39 views

I’m evaluating test management tools for a small QA team and trying to find something lightweight yet reliable for test case organization and test run tracking. Some of the traditional options I’ve ...
Matt Calder's user avatar
0 votes
0 answers
67 views

My tests are not running anymore, abort with this error: Error: No tests were run. at ProcessingQueue.done (webpack://__ember_auto_import__/./node_modules/qunit/qunit/qunit.js?:819:583) at ...
Jeff's user avatar
  • 6,961
Best practices
3 votes
0 replies
38 views

Let's say I have Worker class and I want to do long running tasks in the background until user stops it or it is cancelled. It changes state of the class while doing the work and I want to write tests ...
Domz's user avatar
  • 11
Tooling
0 votes
2 replies
50 views

I work on a NextJS project with Pages Router. We are using Jest for unit tests and Playwright for E2E. The application we are making is a funnel with several steps. Each step is a form with several ...
vtomic85's user avatar
  • 623
Best practices
0 votes
1 replies
63 views

I’m currently working on a personal Android project using Kotlin and Android Studio, following a basic MVVM architecture: ─main │ ├───java │ │ └───com │ │ └───example │ │ └───...
alex_pythooon's user avatar
0 votes
0 answers
25 views

I have a large xhtml file, below the imports there is a component that should only render when a test from a Bean returns true. <c:if test="#{MyBean.myFunction()}"> <div id=&...
boycott-nestle's user avatar
-3 votes
0 answers
82 views

If a GUI test must involve entering text in a text field, a convenient shortcut is robot.enterText(..) (available in both FEST and its fork, AssertJ Swing). I was under the impression the utility is ...
Sergey Zolotarev's user avatar
Advice
0 votes
0 replies
45 views

Bazel on Linux usually sets the RUNFILES_DIR environment variable but it may alternatively set RUNFILES_MANIFEST_FILE. General advice for scripts is to make your scripts capable of working with both. ...
qznc's user avatar
  • 1,193
Advice
0 votes
0 replies
40 views

Question: I'm building a testing system for a data quality SaaS app where tests are entirely props-driven (similar to React component testing philosophy). Goal: Create reusable, composable test ...
Vijay Savaliya's user avatar
0 votes
0 answers
29 views

I am testing a web UI using WebdriverIO, specifically an email send form. This test must ensure that the error helper text (like "email required") are displayed when submitting the form ...
NikcQ's user avatar
  • 1
1 vote
0 answers
40 views

I am testing my Python Flask app using Locust to load-test a POST request with an .xlsx file attachment. However, I consistently encounter a 503 Service Unavailable error. This issue ONLY occurs when ...
KurczakChrupiacy2's user avatar
Best practices
0 votes
1 replies
27 views

Right now, I am deployed contracts on anvil with a script, logging the addresses, and hardcoding it into my viem typescript test. Is there a more seamless way to do ts tests in conjunction with smart ...
Yan Digilov's user avatar
0 votes
0 answers
55 views

I am using Mockito 5.20.0 to mock a static method, but the mock is not correctly closing / the mocked behavior is leaking outside of the tests it is intended to apply to. This is only a problem if ...
PunDefeated's user avatar
Best practices
0 votes
6 replies
72 views

The title is somewhat difficult. I try to explain what I want the input from you all. My current practice from a feature/bug development towards the codes journey to the production is the following. ...
FlorianD's user avatar
  • 123
Best practices
0 votes
0 replies
42 views

We are building and deploying a few system using the AWS CDK Pipeline, mostly with dotnet Most cases we are building the deployed apps using dockerfile assets referenced in the CDK Should we run the ...
Erik Karlsson's user avatar
-1 votes
1 answer
87 views

I'm writing a Rust program where I do manual command-line argument parsing. I skip the first argument since that's the executable and I don't care about that, then check the second argument for what ...
Newbyte's user avatar
  • 3,955
Best practices
0 votes
0 replies
23 views

Context: Fullstack program which implements reconnection logic that utilizes TTL session expiries that are managed on the backend to determine whether or not a session is "still open to rejoin&...
CaliCrunch's user avatar
Advice
0 votes
2 replies
108 views

I'm trying to build my own handheld games console similar to a Game Boy. Currently for the POC I’m using the Arduino Uno, separate SD card reader module and 2.4 inch TFT Display. I want to put the ...
user15155666's user avatar
0 votes
1 answer
166 views

I'm using the AWSSDK.S3 for .NET (v4.0.9.1) in my app. For my tests I run minio in a docker container. I know this worked in the past but with an update to the current versions of the SDK and the ...
Sebastian Weber's user avatar
-3 votes
1 answer
117 views

I have a script that iterates through folders in cwd. pull the date from each folder's name, then rename files in each folder with said date, and move them up (and out) of their parent folder. e.g. ...
Lanzelloth's user avatar
1 vote
1 answer
85 views

I am doing unit testing for my project. This is the code I want to test: import { create } from "zustand"; import { persist } from "zustand/middleware"; interface LanguageState { ...
Lollypop123445's user avatar
0 votes
1 answer
94 views

I can't seem to find a definitive answer on how to test the following boot methods using PHPUnit tests in Laravel. I'm referring to the mthods in public static function boot() on a model. Survey model ...
Daniel Harper's user avatar
0 votes
0 answers
47 views

I'm trying to move Test Case work items from one Azure DevOps project to another within the same organization. However, when I try to move them, I get the following error: Work item type Test Case ...
surya Teja's user avatar
0 votes
0 answers
133 views

In my Laravel application, I have set up two databases in a single server. All specific migrations and model classes have $connection property set up to use blog instance. The app works fine, no ...
Gasimoff's user avatar
0 votes
1 answer
53 views

I want to create tests but every time I run a test it triggers celery and celery creates instances into my local db. that means that if I run those tests in the prod or dev servers, then it will ...
0 votes
1 answer
48 views

I'm constructing an mobile automation frame using appium with webdriverIO. My employer is in the early stages of constructing their app so I'm using a boilplate WDIO app as it's a hybrid app. I'm ...
fypnlp's user avatar
  • 1,539
2 votes
0 answers
58 views

I’m writing a Laravel Dusk browser test for a “Delete Contact” button that shows a native JavaScript confirm() dialog before deleting a record. However, every time the test runs, I get this error: ...
Nken Mandeng Ange Arsene's user avatar
0 votes
0 answers
35 views

I read that :hover is not supported for various reasons ( reference ) So what is the approach to test if hover on an item actually works ? I tried to trigger mouseenter, mousemove to position, but it ...
Stormsson's user avatar
  • 1,591
0 votes
2 answers
110 views

I have a function that allows users to register. After successful registration, the user is redirected to the home page (after 5 seconds). Before being redirected, the user receives a toast ...
Clyde's user avatar
  • 62
0 votes
1 answer
70 views

Is there a way to select the validation pop-up messages generated by the browser when a user inputs an incorrect format, such as an invalid email address?. I am writing a test case to verify whether ...
amal's user avatar
  • 3,626
1 vote
1 answer
75 views

In Rails Controller tests of an invalid route, this used to work before Rails-7.1 (in Minitest): assert_raises(ActionController::RoutingError){ get "/non_existent" } In Rails-7.1 (or later),...
Masa Sakano's user avatar
  • 2,309
0 votes
1 answer
124 views

I am writing an e2e test which starts the binary of the program and sends an http.Get() request to the server endpoint. main.go func main() { handler := http.HandlerFunc(func(w http.ResponseWriter,...
Limpskinz's user avatar
0 votes
2 answers
54 views

I have a question related to Apache JMeter testing. I want to send multiple HTTP requests to a single GET endpoint simultanesously (concurrently), that has multiple query parameters, one of them is ...
Mykoliux's user avatar
  • 163
0 votes
0 answers
58 views

I would like to ask about a certain topic that is tough one. Im working in a project that has microservices architecture with more than 1 databases running every time. in django, how can I perform ...
-3 votes
1 answer
127 views

Can you make assumptions with Mockito? If the method's not invoked, this would throw AssertionError and make the test fail. then(mock).should().doSomething(); Instead, I want the test to be skipped, ...
Sergey Zolotarev's user avatar
0 votes
1 answer
76 views

I’m working with Playwright (Node.js) and need to capture notification toasts that appear on the page. The issue is that the toasts don’t always have the same structure: Some have only a message ...
Edras Antonio Anaya Hernandez's user avatar
0 votes
1 answer
40 views

I tried following the documentation here as best i could, but im getting an error where the DI seems broken. What am i missing Here is the error, with some logs: stdout | src/resources/cats/cat.spec....
user3666653's user avatar

1
2 3 4 5
1010