Merge branch 'main' into workflow #29
Annotations
2 errors
Run npm test:
test/pmJoinSession.Soham.test.jsx#L37
TestingLibraryElementError: Unable to find an element with the text: Create New Session. 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>
<div>
<div
class="min-h-screen p-4"
>
<div
class="max-w-6xl mx-auto"
>
<div
class="flex col"
>
<button
class="inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-gray-700 transition-colors rounded-lg hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200"
>
<svg
class="lucide lucide-chevron-left w-4 h-4"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m15 18-6-6 6-6"
/>
</svg>
Back
</button>
<div
class="w-full mb-2 sm:mb-6 border border-blue-500 rounded-md p-2 sm:p-5"
>
<div
class="text-2xl text-blue-500 font-bold"
>
Welcome, PMs!
</div>
</div>
</div>
<div
class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6"
>
<div
class=" overflow-y-auto bg-white shadow rounded h-full"
>
<div
class="p-4 p-4"
>
<div
class="space-y-4"
>
<div
class="text-xl font-semibold"
>
Create Session
</div>
<form
class="space-y-4"
>
<div>
<input
class="border border-gray-300 rounded px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 w-full px-3 py-2 border border-gray-300 rounded"
placeholder="Enter course name"
required=""
type="text"
value=""
/>
</div>
<button
class="bg-blue-500 text-white py-2 px-4 rounded w-full px-6 py-2 text-lg bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-300"
>
Create Session
</button>
</form>
</div>
</div>
</div>
<div
class=" overflow-y-auto bg-white shadow rounded h-full"
>
<div
class="p-4 p-4"
>
<div
class="space-y-4"
>
<div
class="text-xl font-semibold"
>
Join Session
</div>
<div
class="flex flex-col gap-4 w-full"
>
<input
class="border border-gray-300 rounded px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 flex-1 px-4 py-2 text-lg border border-gray-300 rounded"
placeholder="Enter session code"
type="text"
value=""
/>
<button
class="bg-blue-500 text-white py-2 px-4 rounded w-full px-6 py-2 text-lg bg-blue-500 text-white rounded hover:bg-blue-600 transition duration-300"
>
Join
</button>
</div>
|
Run npm test
Process completed with exit code 1.
|
Loading