Skip to content

Tests: General

This page exists to check if variables behave the way I expect them to do. So it may look very chaotic ;)

Variable Value
TEST xTESTx
LINK sLINKs
CHECKBOX xCHECKBOXx
Quoted string xQUOTE_CHECKBOXxxTESTxxQUOTE_CHECKBOXx
DROPDOWN xDROPDOWNx

Replacement methods

Type Test
Dynamic dTESTd
Editable eTESTe
HTML (allowed, should work) iLINKi
HTML (prohibited, should fail) iTESTi
Normal xTESTx
Static sTESTs

EDIT_TEST_END

Intersecting variables

xTESTxxTESTxxTESTx

xTESTxTESTxTESTxTESTx

xxTESTxx

xTExTESTxSTx

In different content

Section title: xTESTx

  • xTESTx
  • xTESTx, xTESTx
  • xTESTx
  • xTESTx
  • ++ctrl+xTESTx++
  • xTESTx
xTESTx

Admonition title: xTESTx

The contents are xTESTx

Direct link: https://xTESTx

Text can be deleted xTESTx and replacement text added xTESTx. This can also be combined into one xTESTxa single xTESTx operation. Highlighting xTESTx is also possible and comments can be added inline xTESTx.

Some of this is taken from https://squidfunk.github.io/mkdocs-material/reference/formatting/

Test placeholder: xTESTx

Dynamic keys: ++ctrl+xTESTx++, Ctrl+xTESTx

Static keys: ++ctrl+sTESTs++, Ctrl+sTESTs

SubxTESTxscript, superxTESTxscript

Invalid

xTEST TESTx XTESTX xTSTx x TEST x xTestx xTeSTx

Combined variable

  • Combined email address: xCOMB_EMAILx

Bad practices

Bad name format: xBad_Name Formatx

This should cause a warning at build time:

Test for Cross-Site Scripting

In input field In normal page
xXSS_ONEx
xXSS_TWOx
xXSS_THREEx
console.log("xXSS_TWOx") Check the browser console (F12)