-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbehat.yml
executable file
·101 lines (101 loc) · 3.84 KB
/
behat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
default:
suites:
default:
contexts:
- FeatureContext:
- ['admin','1234']
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\DrushContext
formatters:
pretty:
html:
output_path: %paths.base%/build/html/behat
extensions:
emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
name: html
renderer: Twig
Behat\MinkExtension:
base_url: http://google.com
files_path: %paths.base%/files
sessions:
default:
goutte: ~
selenium2:
selenium2: ~
Drupal\DrupalExtension:
blackbox: ~
api_driver: 'drush'
drush:
alias: 'kkms2'
region_map:
#CITI REGIONS
Check1: "#tfa_Pleaseuncheckthi-D"
Check2: "#tfa_Pleaseuncheckthi1-D"
Check3: "#tfa_Pleaseuncheckthi2-D"
UsrPassHolder: "#unpw-holder"
WebformSubmit: "#edit-actions"
#Dagrofa regions
Organisations: ".chosen-container"
BreakingNews: ".js-marquee-wrapper"
SexRegion: ".form-item-profile-main-field-user-gender-und"
TermsRegion: ".form-item-terms-of-use"
#LUSH regions
VerticalTab: ".vertical-tabs"
Photographer: ".field-name-field-tr-article-photographer"
Videographer: ".field-name-field-tr-article-videographer"
ThanksTo: ".field-name-field-tr-article-with-thanks-to"
Category: ".field-name-field-category-type"
DeployHistoryOverview: "#edit-deploy-history"
EditorialContentTable: ".views-table"
Autocomplete: "#autocomplete"
OmsTable: "#productTable"
ReservationQty: ".views-field-reservation-qty"
ManageStock: "#manage_stock_id"
profile:
extensions:
Behat\MinkExtension:
base_url: https://Syngenta:Syngenta1@behat.test-syngentacp.acsitefactory.com/
files_path: %paths.base%/features/Syngenta/CSV/
selenium2:
wd_host: "http://localhost:1234/wd/hub"
Drupal\DrupalExtension:
region_map:
MediaWebUpload: "#media-tab-media_internet"
EditActions: "#edit-actions"
ContactUsLinks: ".panels-ipe-sort-container"
TextBlocksProductCP: "#edit-syn-editorial-text-blocks-syn-product-cp"
TextBlocksSeed: "#edit-syn-editorial-text-blocks-syn-product-seed"
TextBlocksTarget: "#edit-syn-editorial-text-blocks-syn-product-target"
TextBlocksSearch: "#edit-syn-editorial-text-blocks-syn-search"
Roles: "#edit-roles"
MyProfileSecondaryTabs: ".tabs-secondary"
MediaUpload: ".media-internet-add-upload"
ResultsTable: ".view-content"
AddressAutocomplete: ".addressfield-autocomplete-link"
UiTabsNav: ".ui-tabs-nav"
ProductCPregistration: ".view-mode-product_cp_registration_on_product_cp"
SeedTabs: "#quicktabs-product_seed_corn"
suites:
default:
contexts:
- Drupal\DrupalExtension\Context\MinkContext:
- Drupal\DrupalExtension\Context\MessageContext:
- Drupal\DrupalExtension\Context\DrushContext:
- SyngentaContext:
- mainSite:
user: "admin"
pass: "123456Qa!"
DAS:
url: "https://drpauth.test-syngentacp.acsitefactory.com"
user: "administrator"
pass: "Syngenta1"
secondCountrySite:
url: "https://behat2.test-syngentacp.acsitefactory.com"
user: "admin"
pass: "123456Qa!"
Facebook:
user: "propeople.qa@gmail.com"
pass: "090402QA"
FirstName: "Propeople"
LastName: "Qa"