New mocha test not added

Howdy.

I am currently working on the Cake o’clock project in the web development path.

I have added the ‘does not provide options outside of working hours’ mocha test, and it looks exactly like the snippet suggested in the project, but it’s not being performed, and it doesn’t show in the console when I run mocha while the other tests are performed smoothly.

What am I doing wrong?

const {assert} = require('chai');
const {jsdom} = require('jsdom');

const parseTextFromHTML = (htmlAsString, selector) => {
  const selectedElement = jsdom(htmlAsString).querySelector(selector);
  if (selectedElement !== null) {
    return selectedElement.textContent;
  } else {
    throw new Error(`No element with selector ${selector} found in HTML string`);
  }
};

describe('User visits index', () => {
  describe('to post an order', () => {
    it('starts with a blank order', () => {
      browser.url('/');

      assert.equal(browser.getText('#deliver-to span'), '');
      assert.equal(browser.getText('#cake-type span'), '');
      assert.equal(browser.getText('#fillings span'), '');
      assert.equal(browser.getText('#size span'), '');
    });
________________________________________________________________________________
    // Add the 'outside of working hours' test here
    it('does not provide options outside of working hours', () => {
          const earlyHr = '7:00';
         const lateHr = '13:00';

          browser.url('/');**
          const HTML = browser.getHTML('body');**
          const parsedHTML = parseTextFromHTML(HTML, '#select-pickUp');**

          assert.notInclude(parsedHTML, earlyHr);**
          assert.notInclude(parsedHTML, lateHr);**
         });**
__________________________________________________________________________________
    // Add the 'displays the selected hour' test here
    
    
    // Add the 'labels the pick up hour' test here


    it('accepts the customer name', () => {
      const name = 'Hungry Person';

      browser.url('/');
      browser.setValue('#name', name);
      browser.click('#submit-order');
      browser.url('/');

      assert.include(browser.getText('#deliver-to'), name);
    });

    it('accepts the cake type', () => {
      const cakeType = 'Whole Wheat';

      browser.url('/');
      browser.click('#whole-wheat');
      browser.click('#submit-order');
      browser.url('/');

      assert.include(browser.getText('#cake-type'), cakeType);
    });

    it('accepts multiple fillings', () => {
      const firstChoice = 'Strawberries';
      const secondChoice = 'Banana';

      browser.url('/');
      browser.click('#strawberries');
      browser.click('#banana');
      browser.click('#submit-order');
      browser.url('/');

      assert.include(browser.getText('#fillings'), firstChoice);
      assert.include(browser.getText('#fillings'), secondChoice);
    });

    it('accepts the stack size', () => {
      const optionText = 'Double Stack';
      const optionNum = '2';

      browser.url('/');
      browser.selectByVisibleText('#select-stack', optionText)
      browser.click('#submit-order');
      browser.url('/');

      assert.include(browser.getText('#size'), optionNum);
    });
  });

  describe('to clear an order', () => {
    it('deletes the selected options', () => {
      const name = 'Indecisive Person';
      const time = '10:00';

      browser.url('/');
      browser.setValue('#name', name);
      browser.selectByVisibleText('#select-pickUp', time)
      browser.click('#submit-order');
      browser.click('#clear-order');
      browser.url('/');

      assert.equal(browser.getText('#deliver-to span'), '');
      assert.equal(browser.getText('#cake-type span'), '');
      assert.equal(browser.getText('#fillings span'), '');
      assert.equal(browser.getText('#size span'), '');
    });
  });
});

Did you press the Save button? If it isn’t showing in the output at all but the other tests in the same file are showing, then it seems like the file isn’t updated. In some lessons/exercises, pressing Save isn’t required, so I know that caught me a couple times throughout the path.

That was so noobish of me. Thank you for the heads up. Shame on me.