-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(compat form tag rendering): Fixes issue where form tags could not…
… be rendered (#961) * integration test for form tag * fix(form-tag-rendering): Fixes issue where form tags could not be rendered * remove define Property in uid
- Loading branch information
1 parent
3434992
commit c4d8484
Showing
6 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/lwc-integration/src/components/rendering/test-form-tag/form-tag.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<template> | ||
<form> | ||
<div class="form-text">Form did render</div> | ||
</form> | ||
</template> |
5 changes: 5 additions & 0 deletions
5
packages/lwc-integration/src/components/rendering/test-form-tag/form-tag.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { Element } from 'engine'; | ||
|
||
export default class TestFormTag extends Element { | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
packages/lwc-integration/src/components/rendering/test-form-tag/form-tag.spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const assert = require('assert'); | ||
describe('Object keys', () => { | ||
const URL = 'http://localhost:4567/form-tag'; | ||
let element; | ||
|
||
before(() => { | ||
browser.url(URL); | ||
}); | ||
|
||
it('should have the right value', function () { | ||
const element = browser.element('.form-text'); | ||
assert.ok(element); | ||
assert.deepEqual(element.getText(), 'Form did render'); | ||
}); | ||
}); |