# spec/support/wait_for_ajax.rbmoduleWaitForAjax defwait_for_ajax Timeout.timeout(Capybara.default_max_wait_time) do
loopuntilfinished_all_ajax_requests? end end deffinished_all_ajax_requests?
page.evaluate_script('jQuery.active').zero? endendRSpec.configuredo|config| config.includeWaitForAjax,type: :featureend
click_link "Check validity"
click_link "Create" # if this is a button that depends on "Check validity" to be disabled/enabled, it will have the correct status before the test is executed
Introduction of “sectioning elements”: an article, a section, the entire document (header page). Typically the header of a Web site that appears on top of each page, or a header of a long <article> or of a long <section>
Contains the footer of a site, a long <article>, or a long <section>
Section that contains the main navigation links (within the document or to other pages).
Independent content, which can be individually extracted from the document and syndicated (RSS or equivalent) without penalizing its understanding. Typically a blog post.
Generic section used to group different articles for different purposes or subjects or to define the different sections of a single article. Generally used with a header.
Used for marking up times and dates.
Section whose content is not necessarily directly related to the main content that surrounds it, but can provide additional information.
<figure> and <figcaption>
Used to encapsulate a figure as a single item, and contains a caption for the figure, respectively.
The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application. There can be only one <main> element in a document.