<commit_before>const expect = require('expect.js')
const world = require('../world')
const sharedSteps = require('../shared-steps')

describe('Manage environments', function() {
  it('should be able to create a new environment', async () => {
    const page = await world.getPage()
    const newEnvName = 'local'
    const newEnvHost = world.isLocal ? 'localhost' : 'kuzzle'

    await page.goto(world.url)

    await page.waitForSelector('.TOTO', {
      timeout: world.defaultWaitElTimeout
    })

    await sharedSteps.openCreateEnvModalIfExists(page)<commit_msg>Stripped dummy code<commit_after>const expect = require('expect.js')
const world = require('../world')
const sharedSteps = require('../shared-steps')

describe('Manage environments', function() {
  it('should be able to create a new environment', async () => {
    const page = await world.getPage()
    const newEnvName = 'local'
    const newEnvHost = world.isLocal ? 'localhost' : 'kuzzle'

    await page.goto(world.url)
    await sharedSteps.openCreateEnvModalIfExists(page)
{'fraction_non_alphanumeric': 0.13301435406698564, 'fraction_numerical': 0.0, 'mean_word_length': 4.282828282828283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5087158', 'n_tokens_mistral': 310, 'n_tokens_neox': 304, 'n_words': 79}