<commit_before>import { expect } from 'chai';
import steps from '../support/asygen';

const { then } = module.exports = steps();

then(/^I should see the total amount of my bill$/, function *() {
  const { By } = this.webdriver;

  const element = yield this.driver.findElement(By.css('.bill-total'));
  const value = yield element.getAttribute('textContent');
  expect(value).to.equal('£130.10');
});

then(/^I should see (\d+) subscriptions$/, async function(amount) {
  const { By } = this.webdriver;
<commit_msg>Fixed multiple await issue<commit_after>import { expect } from 'chai';
import steps from '../support/asygen';

const { then } = module.exports = steps();

then(/^I should see the total amount of my bill$/, async function() {
  const { By } = this.webdriver;

  const element = this.driver.findElement(By.css('.bill-total'));
  const value = await element.getAttribute('textContent');
  expect(value).to.equal('£130.10');
});

then(/^I should see (\d+) subscriptions$/, async function(amount) {
  const { By } = this.webdriver;

{'fraction_non_alphanumeric': 0.1716203259827421, 'fraction_numerical': 0.009587727708533078, 'mean_word_length': 4.299492385786802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6188615', 'n_tokens_mistral': 329, 'n_tokens_neox': 318, 'n_words': 91}