-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #508 from jdi-testing/update_cucumber
Update Cucumber version to 7.10.1
- Loading branch information
Showing
19 changed files
with
101 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import requests | ||
|
||
query = { | ||
'key': '3445103a21ddca2619eaceb0e833d0db', | ||
'token': 'a9b951262e529821308e7ecbc3e4b7cfb14a24fef5ea500a68c69d374009fcc0' | ||
} | ||
|
||
def get_boards(): | ||
url = "https://api.trello.com/1/members/me/boards" | ||
|
||
response = requests.request( | ||
"GET", | ||
url, | ||
params=query | ||
) | ||
return response.json() | ||
|
||
def clean_board(board_id): | ||
url = "https://api.trello.com/1/boards/" | ||
|
||
response = requests.request( | ||
"DELETE", | ||
url+board_id, | ||
params=query | ||
) | ||
|
||
def clean_boards(): | ||
board_list = get_boards() | ||
for board in board_list: | ||
print(board) | ||
clean_board(board['id']) | ||
|
||
# run in case of error that user have too many boards | ||
if __name__ == '__main__': | ||
clean_boards() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
jdi-dark-bdd-tests/src/test/java/com/epam/jdi/httptests/CucumberTestRunner.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
jdi-dark-bdd-tests/src/test/java/com/epam/jdi/httptests/HttpTestsRunner.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
jdi-dark-bdd-tests/src/test/java/com/epam/jdi/httptests/steps/Hooks.java
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
jdi-dark-bdd-tests/src/test/java/httptests/CucumberTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package httptests; | ||
|
||
import io.cucumber.junit.Cucumber; | ||
import io.cucumber.junit.CucumberOptions; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Cucumber.class) | ||
@CucumberOptions( | ||
features = "classpath:features", | ||
glue = {"httptests/steps", "com/epam/jdi/http/stepdefs/en"}, | ||
plugin = {"io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm"} | ||
) | ||
public class CucumberTest { | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...epam/jdi/httptests/steps/InitService.java → ...est/java/httptests/steps/InitService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.