3timeslazy
ad2ec2e817
build core.Functions with map
2019-10-15 21:06:48 +03:00
3timeslazy
55e82a9791
add Functions tests
2019-10-15 12:22:22 +03:00
3timeslazy
1a7240f738
add pointer receiver into all Functions methods
2019-10-15 12:04:04 +03:00
3timeslazy
83dc0d2811
make core.Functions a struct
2019-10-15 11:40:36 +03:00
3timeslazy
e5860934a4
move strings.ToUpper logic from code into core.Functions
2019-10-14 21:47:31 +03:00
Tim Voronov
2d645434d8
Externalized common timeout values ( #371 )
...
* Externalized common timeout values
* Updated go.sum
2019-09-05 12:17:22 -04:00
Tim Voronov
22382a0f61
Added namespace builder ( #336 )
...
* Added namespace builder
* Fixed linting issues
* Added extra check
* Updated e2e lib
* Renamed NamespaceBuilder to NamespaceContainer and changed func receivers
* Renamed NewLib to RegisterLib
2019-07-22 17:21:20 -04:00
Tim Voronov
9756f0dc5a
Changed logic of iterator termination ( #330 )
2019-07-13 13:39:01 -04:00
Tim Voronov
d7b923e4c3
Feature/#220 iframe support ( #315 )
...
* Refactored Virtual DOM structure
* Added new E2E tests
* Updated E2E Test Runner
2019-06-19 17:58:56 -04:00
3timeslazy
acf2f13dcb
Linter Cleanups ( #294 )
...
* sync with MontFerret/ferret
* fix --param handling
When params is converted to map it uses strings.Split,
which slices a string into all substrings separated by :.
* remove impossible conditions nil != nil
* delete ineffectual assignments
* replace '+= 1' with '++'
* remove useless comparison with nil
* merge variable declarations
* remove bool comparison
* fix imports
* fix imports
* delete unused file
* use copy instead of loop
* delete unused DummyInterface
* remove unnecassary break statements
* tidy modules
2019-05-03 17:10:34 -04:00
3timeslazy
de703513e4
Linter Cleanup ( #276 )
...
* linter cleanup
* fix default case
2019-03-29 10:48:51 -04:00
Tim Voronov
37fb385ba4
Updated RAND function ( #271 )
...
* Updated RAND function
* renamed a func
2019-03-19 16:17:05 -04:00
Tim Voronov
a2c4610fce
Removed IteratorFn
2019-03-15 00:00:21 -04:00
Tim Voronov
32bfd4be3d
Added IteratorFn
2019-03-14 22:33:22 -04:00
Tim Voronov
34c8c02258
Refactoring/externalized html ( #234 )
...
* Externalized HTML drivers
* Fixed unit tests
* Updated logging
* Added support to set default driver
* Updated GetIn and SetIn helpers
2019-02-19 18:10:18 -05:00
Tim Voronov
f8e061cc80
Move value specific Iterable and Iterator interfaces into core module ( #233 )
...
* Move value specific Iterable and Iterator interfaces into core module
* Update Makefile
Reverted test command
* Update collection.go
* Fixed wrong iterator usage
* Updated use of switch statements
2019-02-15 07:41:08 -05:00
Tim Voronov
1af8b37a0f
New type system ( #232 )
...
* New type system
* Fixed dot notation for HTML elements
2019-02-13 12:31:18 -05:00
Tim Voronov
749cb8945d
Fixed linting issues
2019-02-08 13:45:21 -05:00
Tim Voronov
5620be211c
Next ( #214 )
...
* Renamed DOCUMENT to PAGE
* Added PageLoadParams
* Added PageLoadParams
* Renamed LoadPageParams -> PageLoadParams
* Added support for context.Done() (#201 )
* Bug/#189 operators precedence (#202 )
* Fixed math operators precedence
* Fixed logical operators precedence
* Fixed array operator
* Added support for parentheses to enforce a different operator evaluation order
* Feature/#200 drivers (#209 )
* Added new interfaces
* Renamed dynamic to cdp driver
* Renamed drivers
* Added ELEMENT_EXISTS function (#210 )
* Renamed back PAGE to DOCUMENT (#211 )
* Added Getter and Setter interfaces
2018-12-21 23:14:41 -05:00
Tim Voronov
291d07cbef
Feature/custom iterator ( #173 )
...
* Added CollectionIterator interface
* Added PAGINATION function
* Fixed LIMIT clause
* Fixed linting issues
2018-11-12 19:58:12 -05:00
3timeslazy
64ca68d930
added DATE_ADD, DATE_SUBTRACT functions ( #165 )
2018-11-07 13:52:25 -05:00
Tim Voronov
3472630e6f
Bug/#142 clauses and statements ( #148 )
2018-10-28 01:45:26 -04:00
Artem Kartasov
7da10c5a70
add unit tests for runtime/core - value ( #144 )
2018-10-28 00:37:52 -04:00
Tim Voronov
549b4abd3b
Feature/#5 collect keyword alt ( #141 )
...
Implemented COLLECT key word
2018-10-24 21:30:05 -04:00
Tim Voronov
b02c554214
Removed redundant code
2018-10-24 20:13:03 -04:00
esell
e64eb18ccf
add unit tests for runtime/core - source ( #126 )
2018-10-15 12:45:29 -04:00
3timeslazy
f91fbf6f8c
Feature/#95 deepclone ( #101 )
...
* rename method Clone to Copy
* added Cloneable interface
* added Value to Cloneable interface
* implemented Cloneable intefrace by array
* implemented Cloneable interface by Object
* unit tests for Object.Clone
* move core.IsCloneable to value.go
* change Clone function
* move IsClonable to package values
2018-10-12 11:58:08 -04:00
esell
ad21fa6482
add unit tests for runtime/core - scope ( #94 )
...
* add unit tests for runtime/core - scope
* add unit tests for runtime/core - scope
* add unit tests for runtime/core - scope
2018-10-11 11:39:52 -04:00
esell
0004667df6
add unit tests for runtime/core - helpers ( #78 )
...
* add unit tests for runtime/core - helpers
* update helpers to ignore struct/unsafe ptr
2018-10-08 18:30:36 -04:00
Tim Voronov
0dfd58dc89
Feature/#1 array comparison operators ( #71 )
...
* #1 Added ALL IN
* #1 Completed Array operator
* #1 Fixed linting issues
2018-10-07 17:54:02 -04:00
Tim Voronov
e64ad4ec0e
Feature/#33 wait class function ( #63 )
...
* #33 Lib cleanup. Added WAIT_CLASS and WAIT_CLASS_ALL functions
* #33 Fixed attr update
* #33 HTMLElement.WaitForClass
* #33 Updated HTMLDocument.WaitForClass
2018-10-06 22:33:39 -04:00
David Landry
a460cfcf6c
Merge remote-tracking branch 'upstream/master' into cleanup/fix-naming-convention
2018-10-05 20:35:55 -04:00
Tim Voronov
54fb111040
Added custom type as a context key
2018-10-05 20:29:42 -04:00
David Landry
138f39d727
Merge branch 'master' into cleanup/fix-naming-convention
2018-10-05 17:42:28 -04:00
David Landry
5f201de7f9
Use custom type for keying Context
...
See https://blog.golang.org/context#TOC_3.2
2018-10-05 17:38:12 -04:00
David Landry
a4ce880d9c
Actually, let's just disable the check for Type
2018-10-05 17:38:12 -04:00
David Landry
90c2c702e4
Rename variables and methods to match styleguide
2018-10-05 17:38:12 -04:00
Tim Voronov
51d794d6c1
Merge pull request #52 from esell/param-test
...
add unit tests for runtime/core - param
2018-10-05 15:49:46 -04:00
Tim Voronov
1b4c7abe2a
Merge pull request #51 from MontFerret/bug/invalid-hashing
...
Fixed hashing
2018-10-05 15:47:18 -04:00
esell
1167d74ed3
add unit tests for runtime/core - param
2018-10-05 13:34:31 -06:00
Tim Voronov
3cb811c636
Fixed hashing
2018-10-05 15:17:22 -04:00
Tim Voronov
1b2a765569
Merge pull request #50 from esell/runtime-tests2
...
add unit tests for runtime/core - function
2018-10-05 13:42:59 -04:00
esell
0b6639fdaf
add unit tests for runtime/core - function
2018-10-05 10:30:54 -06:00
esell
3c78bca385
swap magic numbers for enums in errors_test.go
2018-10-05 10:07:31 -06:00
esell
54a8c0f81b
more unit test for runtime/core - errors
2018-10-05 09:51:43 -06:00
esell
94f8398255
fix package name in errors_test.go
2018-10-04 13:46:34 -06:00
esell
0c5c4ebb91
add unit tests for runtime/core - errors
2018-10-04 13:43:04 -06:00
Tim Voronov
91fc6a1f4a
#11 Added params
2018-09-28 21:04:16 -04:00
Tim Voronov
69a7295da5
Added .Clone() method to runtime Value
2018-09-27 11:53:26 -04:00
Tim Voronov
4df1949b91
#13 Added WAIT_ELEMENT function
2018-09-23 04:33:20 -04:00