May 2019
Intermediate to advanced
496 pages
10h 38m
English
Let's start with the Next button, which the user can click to bring them to the next page of results:
it('has a next button', async () => { await renderAndWait(<CustomerSearch />); expect(element('button#next-page')).not.toBeNull();});
const SearchButtons = () => ( <div className="button-bar"> <button role="button" id="next-page"> Next </button> </div>);
Read now
Unlock full access