mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4643)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell * [ADF-4405] Fix unit tests * [ADF-4405] Fix e2e test
This commit is contained in:
@@ -72,11 +72,12 @@ describe('CopyClipboardDirective', () => {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-copy-conent-test-component',
|
||||
template: `<span adf-clipboard>{{ mockText }}</span>`
|
||||
template: `<span adf-clipboard="placeholder">{{ mockText }}</span>`
|
||||
})
|
||||
class TestCopyClipboardComponent {
|
||||
|
||||
mockText = 'text to copy';
|
||||
placeholder = 'copy text';
|
||||
|
||||
@ViewChild(ClipboardDirective)
|
||||
clipboardDirective: ClipboardDirective;
|
||||
|
Reference in New Issue
Block a user