diff --git a/frontend/src/Router.jsx b/frontend/src/Router.jsx
index ef75c17..0ba6674 100644
--- a/frontend/src/Router.jsx
+++ b/frontend/src/Router.jsx
@@ -40,6 +40,7 @@ import HelpResourcesGit from './page/Help/HelpResourcesGit';
import HelpResourcesNetwork from './page/Help/HelpResourcesNetwork';
import HelpResourcesHtmlCss from './page/Help/HelpResourcesHtmlCss';
import HelpResourcesJavascript from './page/Help/HelpResourcesJavascript';
+import HelpResourcesCypress from './page/Help/HelpResourcesCypress';
import HelpResourcesReact from './page/Help/HelpResourcesReact';
import LogoutAction from './component/LogoutAction';
@@ -92,6 +93,7 @@ const Router = () => {
The test runner unexpectedly exited via a close event with signal SIGABRT
+
+ as a line of Cypress output. The following setup could be helpful for resolving your issue.
+
+ Note: Before executing any command, please be sure to read and understand it. You should review any shell script provided by anyone before blindly running it.
+
+
+{`sudo apt install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev \
+ libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb \
+ x11-apps build-essential ca-certificates libcurl3-gnutls \
+ libcurl4 libcurl4-openssl-dev`}
+{`mkdir ~/bin`}
+{`echo "export PATH=~/bin:\$PATH" >> ~/.bashrc`}
+
+
+ into your shell. These are the packages we need.
+
+ $DISPLAY
Environment Variable and d-bus.bashrc
(or equivalent such as .zshrc
if you are using zsh
) by using
+
+ nano .bashrc
+
+ in your shell, set the $DISPLAY
environment variable by adding the following command:
+
+
+{`# set DISPLAY variable to the IP automatically assigned to WSL2
+export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0`}
+
+
+ And also add the below line of code as well to allow internal communicate for VcXsrv GUI.
+
+ /etc/init.d/dbus start &> /dev/null
+
+ You could easily verify $DISPLAY
by echo
.
+
+
+{`echo $DISPLAY
+# Output should look like: 172.26.64.1:0.0`}
+
+
+ Now linux user needs to be granted access to d-bus without a password. To do so, we need to use visido
.
+
+
+{`sudo visudo -f /etc/sudoers.d/dbus`}
+
+
+ This command above will open a new editor, add the following line with your username and save file.
+
+
+ {` ALL = (root) NOPASSWD: /etc/init.d/dbus`}
+
+
+ You could obtain your username by running
+
+
+ {`whoami`}
+
+
+ Xlaunch
and open it.
+
+ Config:
+ Multiple Windows
(default), Click Next StepStart no client
(default), Click Next StepDisable access control
, Uncheck Native opengl
, Click Next Step%AppData%\Microsoft\Windows\Start Menu\Programs\Startup
X-server
running while you are using any GUI-app like cypress!
+
+
+ npx cypress open
for npm
, or yarn run cypress open
for yarn
.
+
+ You may want to consider adding
+
+
+{`{
+ "scripts": {
+ "cypress:open": "cypress open"
+ }
+}`}
+
+
+ into your package.json
file.
+
+ >
+ );
+};
+
+export default makePage(ResourcesCypress, {
+ loginRequired: true,
+ title: 'Cypress Resources',
+});