Skip to main content

Creator of http://diagramo.com

Humble author of http://html5tutorial.com

Jul
14
asked How test a file drag-and-drop using Vitest?
Jul
10
awarded Famous Question
May
11
comment How do I attach a terminal to a detached process?
This question is no about attaching a terminal to a background program but how to send data to a background program; maybe the title must be changed....
May
1
revised Test a drag and drop user action in vue-test-utils
typo fix
Apr
24
awarded Popular Question
Apr
12
answered How to enter several words on a separate line from the keyboard in Dart
Apr
12
comment How to enter several words on a separate line from the keyboard in Dart
Ok, now how would you let the program know that you finished entering ? As this usually this is done by the presence of carriage return and you want to keep trigger (visually) carriage returns then another key/shortcut will be needed to signal that you finished typing (the input).
Apr
12
comment How to enter several words on a separate line from the keyboard in Dart
Do you want to retrieve all those "lines" as a single line or you want to retrieve an array of (3 lines) lines ?
Apr
9
comment How to reference HTML elements from ouside the App in Vue?
@EstusFlask I use vitest, test-utils and jsdom. Updated the question with these details.
Apr
9
revised How to reference HTML elements from ouside the App in Vue?
a little more of my setup
Apr
9
comment How to reference HTML elements from ouside the App in Vue?
Also tested the getElementById() solution before, inside the test unit, and it didn't work. BUT when tested inside the App (in mounted() function for example) it's working. So the logical conclusion is that the test units, because they do not replicate the index.html setup, can not access the quote's <div> ...as it doesn't exist.
Apr
9
comment How to reference HTML elements from ouside the App in Vue?
@EstusFlask Oh sorry, the ref was part of me trying to get a handle on it. I removed it from the code sample.
Apr
9
revised How to reference HTML elements from ouside the App in Vue?
Remove unecessary code
Apr
9
comment How to reference HTML elements from ouside the App in Vue?
@EstusFlask Well...I generally agree with you but the problem is that a 3rd party library creates a <div> outside the app's <div> and I need to inspect that (outside) <div> for testing purposes (read test units)
Apr
9
asked How to reference HTML elements from ouside the App in Vue?
Apr
2
answered Why Vue's vue-test-utils test unit does not reach the proper route when using clicking a button?
Apr
1
asked Why Vue's vue-test-utils test unit does not reach the proper route when using clicking a button?
Mar
26
asked How to test if a form submit was successful with Vue Test Utils?
Mar
1
comment How can I tell if a virtual machine was shut down or saved gracefully?
@Silbee Just added more info. Thanks!
Feb
29
revised How can I tell if a virtual machine was shut down or saved gracefully?
Added more info about the environment used
1 2 3 4 5