<commit_before>/* global cy, before, context, Cypress, after, it */
const baseUrl = Cypress.env('LUMEN_URL') || 'http://t1.lumen.local:3030/';
const username = Cypress.env('LUMEN_USER') || 'jerome';
const password = Cypress.env('LUMEN_PASSWORD') || 'password';
const DATASET_LINK = 'https://raw.githubusercontent.com/akvo/akvo-lumen/develop/client/e2e-test/sample-data-1.csv';
const datasetName = `Dataset ${Date.now().toString()}`;
const COLUMNS = {
  TEXT_1: 'Name',
  CAT_1: 'Cat',
  NUMBER_1: 'Age',
  NUMBER_2: 'Humidity',
  NUMBER_3: 'Score',
  NUMBER_4: 'Temperature',
};

Cypress.on('uncaught:exception', (err) => {
  cy.log(err);
  // debugger;
  // return false;
});

context('Akvo Lumen', () => {
  // login
  before(() => {<commit_msg>cypress tests failing intermittently #1969<commit_after>/* global cy, before, context, Cypress, after, it */
const baseUrl = Cypress.env('LUMEN_URL') || 'http://t1.lumen.local:3030/';
const username = Cypress.env('LUMEN_USER') || 'jerome';
const password = Cypress.env('LUMEN_PASSWORD') || 'password';
const DATASET_LINK = 'https://raw.githubusercontent.com/akvo/akvo-lumen/develop/client/e2e-test/sample-data-1.csv';
const datasetName = `Dataset ${Date.now().toString()}`;
const COLUMNS = {
  TEXT_1: 'Name',
  CAT_1: 'Cat',
  NUMBER_1: 'Age',
  NUMBER_2: 'Humidity',
  NUMBER_3: 'Score',
  NUMBER_4: 'Temperature',
};

Cypress.on('uncaught:exception', (err) => {
  cy.log(err);
  return true;
});

Cypress.on('fail', (error) => {
  debugger;
  throw error; // throw error to have test still fail
});

context('Akvo Lumen', ()  => {
  // login
  before(() => {
{'fraction_non_alphanumeric': 0.19962686567164178, 'fraction_numerical': 0.018656716417910446, 'mean_word_length': 4.6456140350877195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 2, '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': '7582850', 'n_tokens_mistral': 635, 'n_tokens_neox': 608, 'n_words': 117}