yanuu :)
yanuu :)
TTCTheo's Typesafe Cult
Created by yanuu :) on 8/14/2024 in #questions
Table "appointment" does not exist in the current database error, but other routes do alright
Ugh, I love trying for hours to no avail, posting a question and solving it within 10 minutes. It was the trigger returning an error every interaction because I misspelled a relation.
4 replies
TTCTheo's Typesafe Cult
Created by yanuu :) on 7/29/2024 in #questions
tRPC react-query TypeError
SOLVED (not really, but let's say it is): Resetting TS and ESLint didn't work, but apparently closing VSCode and opening it again did.
3 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 3/23/2024 in #questions
Playwright: How to check with considering URL Params
so
expect(page.url()).toContainText("http://localhost:3000/home")
expect(page.url()).toContainText("http://localhost:3000/home")
11 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 3/23/2024 in #questions
Playwright: How to check with considering URL Params
honestly I don't know much about playwright, but from what I'm reading, .toContainText() should work fine
11 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 3/23/2024 in #questions
Playwright: How to check with considering URL Params
page.url() returns a string, so i don't see why not
11 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 3/23/2024 in #questions
Playwright: How to check with considering URL Params
11 replies
TTCTheo's Typesafe Cult
Created by FleetAdmiralJakob 🗕 🗗 🗙 on 3/23/2024 in #questions
Playwright: How to check with considering URL Params
you could use .toContainText(), according to docs
11 replies
TTCTheo's Typesafe Cult
Created by Maisara Babiker on 3/23/2024 in #questions
Looooong DB table
There are some fields you can reduce - you don't really need a successPercentage and mark field if you can calculate it based on (correct_answers * score_per_question)/(number_of_questions* score_per_question), also the solved field is essentially producing the same result as success or status.
15 replies