qa automation practice

Welcome to the Palace of Cards

Gin Rummy

The fast-paced two-player competition:
Draw and arrange cards covertly while
shedding redundant cards underway.
Which cards will be the key to your victory?
Find the right moment to knock and win!
qa automation practice

Welcome to the Palace of Cards

Whist

4 players, 2 teams, and the fight for 13 tricks!
That’s the English trick-taking classic.
You will need team play as well as wits:
Play your cards wisely, and you can
trump, take tricks, and score points!
qa automation practice

Welcome to the Palace of Cards

Spider

The classic for all riddle-solvers!
Play strategically against up to three players: Each one frees and sorts their cards separately. Who will win? Weave your plan for quickly and effectively catching the most points in your web!
qa automation practice

Welcome to the Palace of Cards

Solitaire

Fans of brain-teasers are in for a good time here!
Besides the challenge of solving the game tactically, you are facing up to three opponents. Sort the families from King to Ace. Will you solve the game best?
qa automation practice

Welcome to the Palace of Cards

Mau-Mau

The speedy classic is online!
If you are playing as two, three, or four – each turn is a potential surprise. You have to empty your hand card by card, but your opponents could get in the way: Seven means drawing two!
qa automation practice

Welcome to the Palace of Cards

Pinochle

Trick-taking with a Wurttemberg twist:
Melds deal points – like the Pinochle featuring the Jack of Clubs and the Queen of Spades! Play in two teams of two or as three lone fighters. Get the kitty, collect tricks, and reach your bid!
qa automation practice

Welcome to the Palace of Cards

Sheepshead

The southern German classic pits on competition: Four players compete either two vs. two or one vs. three. Rely on the Obers or choose Wenz! Who will come out on top and fulfill their announcement?
qa automation practice

Welcome to the Palace of Cards

Doppelkopf

The team player game for trick-taking fans!
There are always four of you – two face two, or one takes on three. The Queens of Clubs and you decide: Normal, Marriage or Solo? Collect tricks for your party and gain the victory!
qa automation practice

Welcome to the Palace of Cards

Skat

The German classic for card game professionals!
Play in threes – always two against one.
„18“ – „Yes,“ „20” – „Accept,“ „22“ – „Pass.“
Take the Skat and face the challenge trick by trick. May the trump cards be with you!
qa automation practice

Welcome to the Palace of Cards

Rummy

The classic for any time of the day!
Play with one, two, or three opponents and win. Be the first to get rid of your hand cards following every trick in the book. The Jokers may be of help. Maybe you can even achieve going Rummy!
qa automation practice

Welcome to the Palace of Cards

Canasta

Your game for strategy and combination!
Two can play a tactician duel, and four will compete in teams of two. Catch the discard pile, combine as many cards as possible, get a little help from wild cards, and collect the most points!

Background Background: Given the application is running And the test database is seeded with known data And the API endpoints are reachable Scenario 1: Successful user login (UI) Scenario: User logs in with valid credentials Given I am on the login page When I enter email "testuser@example.com" And I enter password "ValidPass123!" And I click the login button Then I should be redirected to the dashboard And I should see a welcome message "Hello, Test User" And the logout button should be visible Scenario 2: Login with invalid password (UI) Scenario: User fails login with wrong password Given I am on the login page When I enter email "testuser@example.com" And I enter password "WrongPass" And I click the login button Then I should see an error message "Invalid email or password" And I should remain on the login page And the URL should not contain "/dashboard" Scenario 3: Empty login form validation (UI) Scenario Outline: Login form validation for empty fields Given I am on the login page When I enter email "<email>" And I enter password "<password>" And I click the login button Then I should see "<error_message>" Examples: | email | password | error_message | | | Valid123 | Email is required | | test@example.com | | Password is required | | | | Both fields are required | | invalid-email | Pass123 | Please enter a valid email | Scenario 4: Create new user via API (API automation) Scenario: API creates a new user successfully Given I have a valid API token When I send a POST request to "/api/v1/users" with body: """ "name": "John Doe", "email": "john.doe+test@example.com", "password": "TempPass123!", "role": "tester" """ Then the response status code should be 201 And the response should contain "id" And the response body should have "email" equal to "john.doe+test@example.com" And the user should exist in the database Scenario 5: Duplicate user registration (API negative test) Scenario: API rejects duplicate user registration Given a user with email "existing@example.com" already exists When I send a POST request to "/api/v1/users" with body: """ "email": "existing@example.com", "name": "Duplicate User", "password": "Pass123!" """ Then the response status code should be 409 And the error message should be "User with this email already exists" Scenario 6: Update user profile (Database verification) Scenario: User updates profile and changes are persisted in database Given I am logged in as "testuser@example.com" And I navigate to profile settings When I update my phone number to "+1234567890" And I save the changes Then I should see "Profile updated successfully" And the database query for user "testuser@example.com" should return phone = "+1234567890" And the updated_at timestamp should be within the last 30 seconds Scenario 7: Logout and session invalidation Scenario: User logs out and session token is invalidated Given I am logged in as "testuser@example.com" And I have a valid session token stored When I click the logout button Then I should be redirected to the login page And my session token should be invalid And accessing "/api/v1/user/profile" with the old token should return 401 Scenario 8: Password reset flow (E2E) Scenario: User resets password via email link Given I am on the login page When I click "Forgot password" And I enter email "testuser@example.com" And I click "Send reset link" Then I should see "Reset link sent to email" And a password reset email should be sent to "testuser@example.com" When I open the reset link from email Then I should be on the reset password page When I enter new password "NewStrongPass456!" And I confirm the new password And I click "Reset password" Then I should see "Password reset successful" And I should be able to login with "testuser@example.com" and "NewStrongPass456!" And I should not be able to login with old password Automation Checklist for These Scenarios | Type | Tools Suggested | Key Assertions | |------|----------------|----------------| | UI | Selenium / Playwright / Cypress | Element visibility, text, URL, error messages | | API | REST Assured / SuperTest / Postman Newman | Status codes, response body, headers | | Database | JDBC / SQLAlchemy / Prisma | Row existence, field values, timestamps | | Email | Mailhog / Ethereal / Gmail API | Email received, link extraction | | Session | JWT verification / Cookie check | Token invalidation, 401 responses |