/* eslint-env node, browser */
import { expect } from 'chai';

fixture `Check if the button text changes`
    .page('http://localhost:9090/index.html');

test('My test', async t => {
    await t
		.click('#click-here');

    const button = await t.select('#click-here');

    expect(button.value).to.equal('Hello!');
});

import { expect } from 'chai';

fixture `Check if the button text changes`
    .page `http://localhost:9090/index.html`;

test('My test', async t => {
    await t
		.click('#click-here');

    const button = await t.select('#click-here');

    expect(button.value).to.equal('Hello!');
});

Update docs to use new snapshot property shorthand feature. Modify variable names and style to follow recommended code practices. (#910)