small change to text #310
Annotations
2 errors and 2 warnings
src/components/delivery/orderform.test.tsx > Orderform > Should show loading after submitting form:
src/components/delivery/orderform.test.tsx#L84
TestingLibraryElementError: Unable to find an element with the text: Submitting order, please hold.... This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<form>
<h3>
Please enter your delivery information
</h3>
<p>
Fields marked with
<span
class="asterisk"
>
*
</span>
are required
</p>
<div
class="container"
>
<div>
<label
for="businessOrder"
>
Business order?
</label>
</div>
<div>
<input
id="businessOrder"
name="user_businessOrder"
type="checkbox"
/>
</div>
</div>
<div
class="duoBox"
>
<div
class="input-wrapper"
data-required="true"
>
<input
id="firstName"
name="userFirstName"
required=""
type="text"
/>
<label
for="firstName"
>
First Name
<span
class="required"
/>
</label>
</div>
<div
class="input-wrapper"
data-required="true"
>
<input
id="lastName"
name="userLastName"
required=""
type="text"
/>
<label
for="lastName"
hidden=""
>
Last Name
<span
class="required"
/>
</label>
</div>
</div>
<div
class="input-wrapper"
data-required="true"
>
<input
autocomplete="email"
id="email"
name="user_email"
pattern="^[a-z0-9._%+\\-]+@[a-z0-9.\\-]+\\.[a-z]{2,}$"
required=""
title="Please enter a valid email"
type="text"
/>
<label
for="email"
>
Email
<span
class="required"
/>
</label>
</div>
<div
class="duoBox"
>
<div
class="input-wrapper"
data-required="true"
>
<input
id="address1"
name="user_address1"
required=""
type="text"
/>
<label
for="address1"
hidden=""
>
Address
<span
class="required"
/>
</label>
</div>
<div
class="input-wrapper"
>
<input
id="address2"
name="user_address2"
type="text"
/>
<label
for="address2"
>
Appartment, suite etc.
</label>
</div>
</div>
<div
class="duoBox"
>
<div
class="input-wrapper"
data-required="true"
>
<input
id="user_zip"
name="user_zip"
pattern="^\\d{4}$"
required=""
type="text"
value="2200"
/>
<label
for="user_zip"
>
Zip Code
<span
class="required"
/>
</label>
</div>
<div
class="input-wrapper"
data-required="true"
>
<input
id="city"
name="user_city"
required=""
type="text"
value="København N"
/>
<label
for="city"
>
City
<span
class="required"
/>
</label>
</div>
</div>
<div
class="duoBox"
>
<div
class="input-wrapper"
data-required="true"
>
<i
|
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|