@rich-automation/lotto 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,8 +114,10 @@ class LottoService {
114
114
  yield page.select(selectors_1.SELECTORS.PURCHASE_AMOUNT_SELECT, amountString);
115
115
  yield page.click(selectors_1.SELECTORS.PURCHASE_AMOUNT_CONFIRM_BTN);
116
116
  // click purchase button
117
- this.logger.debug('[purchase]', 'click purchase button -> purchase confirm');
117
+ this.logger.debug('[purchase]', 'click purchase button');
118
118
  yield page.click(selectors_1.SELECTORS.PURCHASE_BTN);
119
+ yield page.wait(500);
120
+ this.logger.debug('[purchase]', 'click purchase confirm button');
119
121
  yield page.click(selectors_1.SELECTORS.PURCHASE_CONFIRM_BTN);
120
122
  yield page.wait(1000);
121
123
  // game result
@@ -108,8 +108,10 @@ export class LottoService {
108
108
  yield page.select(SELECTORS.PURCHASE_AMOUNT_SELECT, amountString);
109
109
  yield page.click(SELECTORS.PURCHASE_AMOUNT_CONFIRM_BTN);
110
110
  // click purchase button
111
- this.logger.debug('[purchase]', 'click purchase button -> purchase confirm');
111
+ this.logger.debug('[purchase]', 'click purchase button');
112
112
  yield page.click(SELECTORS.PURCHASE_BTN);
113
+ yield page.wait(500);
114
+ this.logger.debug('[purchase]', 'click purchase confirm button');
113
115
  yield page.click(SELECTORS.PURCHASE_CONFIRM_BTN);
114
116
  yield page.wait(1000);
115
117
  // game result
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rich-automation/lotto",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Lotto module",
5
5
  "publishConfig": {
6
6
  "access": "public",