Skip to content

Commit 55f5291

Browse files
committed
refactor adn extend scenarios
1 parent 676b035 commit 55f5291

File tree

2 files changed

+29
-12
lines changed

2 files changed

+29
-12
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Feature: Connect without extension
2+
3+
# Background:
4+
# Given a global administrator named "Greg"
5+
# And a blog named "Greg's anti-tax rants"
6+
# And a customer named "Dr. Bill"
7+
# And a blog named "Expensive Therapy" owned by "Dr. Bill"
8+
9+
Scenario: Try connect to wallet Tonkeeper without extension in demo dapp vue react
10+
Given I am open app "https://townsquarexyz.github.io/demo-dapp-with-vue-ui/"
11+
Then I see in title "Demo Dapp Vue UI"
12+
When I click on connect button
13+
Then I see widget with title "Connect your wallet"
14+
When I select wallet "Tonkeeper"
15+
Then I see widget with title "Tonkeeper"
16+
Then I see widget with second title "Scan the QR code below with your phone’s or Tonkeeper’s camera"
17+
When I select option "Browser Extension"
18+
Then I see widget with second title "Seems you don't have installed Tonkeeper browser extension"
19+
20+
Scenario: Try connect to wallet Tonkeeper without extension in demo dapp with react
21+
Given I am open app "https://ton-connect.github.io/demo-dapp-with-react-ui/"
22+
Then I see in title "Demo Dapp with @tonconnect/ui-react"
23+
When I click on connect button
24+
Then I see widget with title "Connect your TON wallet"
25+
When I select wallet "Tonkeeper"
26+
Then I see widget with title "Tonkeeper"
27+
Then I see widget with second title "Scan the QR code below with your phone’s or Tonkeeper’s camera"
28+
When I select option "Browser Extension"
29+
Then I see widget with second title "Seems you don't have installed Tonkeeper browser extension"

features/connect.feature

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)